Struct rustc_mir_build::build::scope::Scopes [−][src]
pub struct Scopes<'tcx> {
scopes: Vec<Scope>,
breakable_scopes: Vec<BreakableScope<'tcx>>,
unwind_drops: DropTree,
generator_drops: DropTree,
}Fields
scopes: Vec<Scope>breakable_scopes: Vec<BreakableScope<'tcx>>The current set of breakable scopes. See module comment for more details.
unwind_drops: DropTreeDrops that need to be done on unwind paths. See the comment on DropTree for more details.
generator_drops: DropTreeDrops that need to be done on paths to the GeneratorDrop terminator.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for Scopes<'tcx>
impl<'tcx> !UnwindSafe for Scopes<'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 208 bytes