pub struct Mmap;Expand description
A base allocator backed by mmap function series.
Implementations§
Trait Implementations§
Source§impl BaseAlloc for Mmap
impl BaseAlloc for Mmap
Source§const IS_ZEROED: bool = true
const IS_ZEROED: bool = true
Indicates if the base allocator are returning zeroed allocations by
default.
Source§type Handle = ManuallyDrop<MmapMut>
type Handle = ManuallyDrop<MmapMut>
The opaque handle of this allocator, usually its metadata or for RAII
purposes.
impl Copy for Mmap
Auto Trait Implementations§
impl Freeze for Mmap
impl RefUnwindSafe for Mmap
impl Send for Mmap
impl Sync for Mmap
impl Unpin for Mmap
impl UnwindSafe for Mmap
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