Struct platform_mem::FileMappedMem
source · [−]pub struct FileMappedMem<T> { /* private fields */ }
Implementations
Trait Implementations
sourceimpl<T> Drop for FileMappedMem<T>
impl<T> Drop for FileMappedMem<T>
sourceimpl<T: Default> RawMem<T> for FileMappedMem<T>
impl<T: Default> RawMem<T> for FileMappedMem<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 FileMappedMem<T> where
T: RefUnwindSafe,
impl<T> !Send for FileMappedMem<T>
impl<T> !Sync for FileMappedMem<T>
impl<T> Unpin for FileMappedMem<T>
impl<T> UnwindSafe for FileMappedMem<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