pub struct DLMalloc;
Expand description
§DLMalloc allocator
This is the default allocator.
Trait Implementations§
Source§impl GlobalAlloc for DLMalloc
impl GlobalAlloc for DLMalloc
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 DLMalloc
impl RefUnwindSafe for DLMalloc
impl Send for DLMalloc
impl Sync for DLMalloc
impl Unpin for DLMalloc
impl UnwindSafe for DLMalloc
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