Struct dlmalloc::GlobalDlmalloc
source · pub struct GlobalDlmalloc;Expand description
An instance of a “global allocator” backed by Dlmalloc
This API requires the global feature is activated, and this type
implements the GlobalAlloc trait in the standard library.
Trait Implementations§
source§impl GlobalAlloc for GlobalDlmalloc
impl GlobalAlloc for GlobalDlmalloc
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 more