Struct rustc_hir_typeck::expr_use_visitor::PlaceWithHirId
source · Expand description
A PlaceWithHirId represents how a value is located in memory.
This is an HIR version of rustc_middle::mir::Place.
Fields§
§hir_id: HirIdHirId of the expression or pattern producing this value.
place: Place<'tcx>Information about the Place.
Trait Implementations§
source§impl TryFrom<&PlaceWithHirId<'_>> for TrackedValue
impl TryFrom<&PlaceWithHirId<'_>> for TrackedValue
§type Error = TrackedValueConversionError
type Error = TrackedValueConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for PlaceWithHirId<'tcx>
impl<'tcx> !Send for PlaceWithHirId<'tcx>
impl<'tcx> !Sync for PlaceWithHirId<'tcx>
impl<'tcx> Unpin for PlaceWithHirId<'tcx>
impl<'tcx> !UnwindSafe for PlaceWithHirId<'tcx>
Blanket 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: 56 bytes