Enum rustc::hir::LoopSource[][src]

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

The loop type that yielded an ExprKind::Loop

Variants

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A loop { .. } loop

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A while let _ = _ { .. } loop

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

A for _ in _ { .. } loop

Trait Implementations

impl Clone for LoopSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq 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 Encodable for LoopSource
[src]

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Decodable for LoopSource
[src]

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

impl Debug for LoopSource
[src]

Formats the value using the given formatter. Read more

impl Copy for LoopSource
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LoopSource
[src]

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

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Auto Trait Implementations

impl Send for LoopSource

impl Sync for LoopSource