pub struct Memory<'mir, 'tcx, M>where
M: Machine<'mir, 'tcx>,{
pub(super) alloc_map: <M as Machine<'mir, 'tcx>>::MemoryMap,
extra_fn_ptr_map: HashMap<AllocId, <M as Machine<'mir, 'tcx>>::ExtraFnVal, BuildHasherDefault<FxHasher>>,
pub(super) dead_alloc_map: HashMap<AllocId, (Size, Align), BuildHasherDefault<FxHasher>>,
}
Fields§
§alloc_map: <M as Machine<'mir, 'tcx>>::MemoryMap
§extra_fn_ptr_map: HashMap<AllocId, <M as Machine<'mir, 'tcx>>::ExtraFnVal, BuildHasherDefault<FxHasher>>
§dead_alloc_map: HashMap<AllocId, (Size, Align), BuildHasherDefault<FxHasher>>
Auto Trait Implementations§
impl<'mir, 'tcx, M> RefUnwindSafe for Memory<'mir, 'tcx, M>where <M as Machine<'mir, 'tcx>>::ExtraFnVal: RefUnwindSafe, <M as Machine<'mir, 'tcx>>::MemoryMap: RefUnwindSafe,
impl<'mir, 'tcx, M> Send for Memory<'mir, 'tcx, M>where <M as Machine<'mir, 'tcx>>::ExtraFnVal: Send, <M as Machine<'mir, 'tcx>>::MemoryMap: Send,
impl<'mir, 'tcx, M> Sync for Memory<'mir, 'tcx, M>where <M as Machine<'mir, 'tcx>>::ExtraFnVal: Sync, <M as Machine<'mir, 'tcx>>::MemoryMap: Sync,
impl<'mir, 'tcx, M> Unpin for Memory<'mir, 'tcx, M>where <M as Machine<'mir, 'tcx>>::ExtraFnVal: Unpin, <M as Machine<'mir, 'tcx>>::MemoryMap: Unpin,
impl<'mir, 'tcx, M> UnwindSafe for Memory<'mir, 'tcx, M>where <M as Machine<'mir, 'tcx>>::ExtraFnVal: UnwindSafe, <M as Machine<'mir, 'tcx>>::MemoryMap: UnwindSafe,
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: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.