pub struct DebugAllocator { /* private fields */ }Implementations§
Trait Implementations§
source§impl GlobalAlloc for DebugAllocator
impl GlobalAlloc for DebugAllocator
source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocate memory as described by the given
layout. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DebugAllocator
impl Send for DebugAllocator
impl Sync for DebugAllocator
impl Unpin for DebugAllocator
impl UnwindSafe for DebugAllocator
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