Enum vstd::raw_ptr::MemContents
source · pub enum MemContents<T> {
Uninit,
Init(T),
}
Expand description
Represents (typed) contents of memory.
Variants§
Implementations§
source§impl<T> MemContents<T>
impl<T> MemContents<T>
pub fn arrow_0(self) -> T
pub fn arrow_Init_0(self) -> T
Auto Trait Implementations§
impl<T> Freeze for MemContents<T>where
T: Freeze,
impl<T> RefUnwindSafe for MemContents<T>where
T: RefUnwindSafe,
impl<T> Send for MemContents<T>where
T: Send,
impl<T> Sync for MemContents<T>where
T: Sync,
impl<T> Unpin for MemContents<T>where
T: Unpin,
impl<T> UnwindSafe for MemContents<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