Type Definition rustc_middle::mir::syntax::UpvarProjectionElem
source · pub type UpvarProjectionElem<'tcx> = ProjectionElem<Local, (), Ty<'tcx>>;
Expand description
Alias for projections that appear in PlaceBuilder::Upvar
, for which
we cannot provide any field types.
Trait Implementations§
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: 24 bytes
Size for each variant:
Deref
: 0 bytesField
: 7 bytesIndex
: 7 bytesConstantIndex
: 23 bytesSubslice
: 23 bytesDowncast
: 11 bytesOpaqueCast
: 15 bytes