Struct rustc_mir::build::scope::BreakableScope[][src]

pub struct BreakableScope<'tcx> {
    pub region_scope: Scope,
    pub continue_block: Option<BasicBlock>,
    pub break_block: BasicBlock,
    pub break_destination: Place<'tcx>,
}
🔬 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?

Fields

🔬 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?

Region scope of the 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?

Where the body of the loop begins. None if block

🔬 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?

Block to branch into when the loop or block terminates (either by being break-en out from, or by having its condition to become false)

🔬 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 destination of the loop/block expression itself (i.e. where to put the result of a break expression)

Trait Implementations

impl<'tcx> Clone for BreakableScope<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Debug for BreakableScope<'tcx>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'tcx> !Send for BreakableScope<'tcx>

impl<'tcx> !Sync for BreakableScope<'tcx>