pub struct Mem<T: Clone + Copy> {
pub mem: Vec<Option<T>>,
pub malloced: HashMap<usize, usize>,
}
Fields§
§mem: Vec<Option<T>>
§malloced: HashMap<usize, usize>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Mem<T>
impl<T> RefUnwindSafe for Mem<T>where
T: RefUnwindSafe,
impl<T> Send for Mem<T>where
T: Send,
impl<T> Sync for Mem<T>where
T: Sync,
impl<T> Unpin for Mem<T>where
T: Unpin,
impl<T> UnwindSafe for Mem<T>where
T: 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