Enum rustc_typeck::expr_use_visitor::PlaceBase [−][src]
Variants
A temporary variable.
A named static item.
Local(HirId)A named local variable.
Tuple Fields of Local
0: HirIdUpvar(UpvarId)An upvar referenced by closure env.
Tuple Fields of Upvar
0: UpvarIdAuto Trait Implementations
impl RefUnwindSafe for PlaceBase
impl UnwindSafe for PlaceBase
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn subst_spanned(
self,
tcx: TyCtxt<'tcx>,
substs: &[GenericArg<'tcx>],
span: Option<Span>
) -> T
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: 16 bytes
Size for each variant:
Rvalue: 0 bytesStaticItem: 0 bytesLocal: 8 bytesUpvar: 12 bytes