Struct platform_mem::TempFileMem
source · [−]#[repr(transparent)]pub struct TempFileMem<T>(_);
Implementations
Trait Implementations
sourceimpl<T: Default> RawMem<T> for TempFileMem<T>
impl<T: Default> RawMem<T> for TempFileMem<T>
fn alloc(&mut self, capacity: usize) -> Result<&mut [T]>
fn allocated(&self) -> usize
fn occupy(&mut self, capacity: usize) -> Result<()>
fn occupied(&self) -> usize
fn grow(&mut self, capacity: usize) -> Result<&mut [T]>
fn shrink(&mut self, capacity: usize) -> Result<&mut [T]>
fn grow_occupied(&mut self, capacity: usize) -> Result<()>
fn shrink_occupied(&mut self, capacity: usize) -> Result<()>
Auto Trait Implementations
impl<T> RefUnwindSafe for TempFileMem<T> where
T: RefUnwindSafe,
impl<T> !Send for TempFileMem<T>
impl<T> !Sync for TempFileMem<T>
impl<T> Unpin for TempFileMem<T>
impl<T> UnwindSafe for TempFileMem<T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more