Struct rustc_hir_typeck::expr_use_visitor::PlaceWithHirId
source · pub struct PlaceWithHirId<'tcx> {
pub hir_id: HirId,
pub place: Place<'tcx>,
}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.
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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