Type Alias rustc_middle::mir::LocalDecls

source ·
pub type LocalDecls<'tcx> = IndexSlice<Local, LocalDecl<'tcx>>;
Expand description

Types for locals

Aliased Type§

struct LocalDecls<'tcx> {
    _marker: PhantomData<fn(_: &Local)>,
    pub raw: [LocalDecl<'tcx>],
}

Fields§

§_marker: PhantomData<fn(_: &Local)>§raw: [LocalDecl<'tcx>]

Trait Implementations§

source§

impl<'tcx> HasLocalDecls<'tcx> for LocalDecls<'tcx>

source§

fn local_decls(&self) -> &LocalDecls<'tcx>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. 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: (unsized)