Struct rustc_mir_dataflow::un_derefer::UnDerefer
source · pub struct UnDerefer<'tcx> {
deref_chains: FxHashMap<Local, Vec<PlaceRef<'tcx>>>,
}
Expand description
Used for reverting changes made by DerefSeparator
Fields§
§deref_chains: FxHashMap<Local, Vec<PlaceRef<'tcx>>>
Implementations§
source§impl<'tcx> UnDerefer<'tcx>
impl<'tcx> UnDerefer<'tcx>
pub fn insert(&mut self, local: Local, reffed: PlaceRef<'tcx>)
sourcepub fn deref_chain(&self, local: Local) -> &[PlaceRef<'tcx>]
pub fn deref_chain(&self, local: Local) -> &[PlaceRef<'tcx>]
Returns the chain of places behind DerefTemp
locals
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for UnDerefer<'tcx>
impl<'tcx> Send for UnDerefer<'tcx>
impl<'tcx> Sync for UnDerefer<'tcx>
impl<'tcx> Unpin for UnDerefer<'tcx>
impl<'tcx> !UnwindSafe for UnDerefer<'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: 32 bytes