pub struct MspaceAlloc { /* private fields */ }Expand description
§MspaceAlloc allocator
This allocator allows you to use a initial capacity bigger than the default granularity.
Implementations§
Trait Implementations§
Source§impl GlobalAlloc for MspaceAlloc
impl GlobalAlloc for MspaceAlloc
Source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocates memory as described by the given
layout. Read moreAuto Trait Implementations§
impl !Freeze for MspaceAlloc
impl RefUnwindSafe for MspaceAlloc
impl Send for MspaceAlloc
impl Sync for MspaceAlloc
impl Unpin for MspaceAlloc
impl UnwindSafe for MspaceAlloc
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