Enum rustc_typeck::hir::LoopSource [] [src]

pub enum LoopSource {
    Loop,
    WhileLet,
    ForLoop,
}
🔬 This is a nightly-only experimental API. (rustc_private)

The loop type that yielded an ExprLoop

Variants

🔬 This is a nightly-only experimental API. (rustc_private)

A loop { .. } loop

🔬 This is a nightly-only experimental API. (rustc_private)

A while let _ = _ { .. } loop

🔬 This is a nightly-only experimental API. (rustc_private)

A for _ in _ { .. } loop

Trait Implementations

impl Decodable for LoopSource
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl PartialEq<LoopSource> for LoopSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for LoopSource
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for LoopSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for LoopSource
[src]

impl Debug for LoopSource
[src]

Formats the value using the given formatter.

impl Encodable for LoopSource
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

impl Copy for LoopSource
[src]