Struct mimalloc_rust::GlobalMiMalloc [−][src]
pub struct GlobalMiMalloc;
Expand description
The global allocator
Implementations
pub fn replace_by<T: Deref<Target = *mut mi_heap_t>>(
heap: &MiMallocHeap<T>
) -> MiMallocHeapGlobal
pub fn replace_by<T: Deref<Target = *mut mi_heap_t>>(
heap: &MiMallocHeap<T>
) -> MiMallocHeapGlobal
replace the global allocator by a heap
get the default heap type of the global allocator holds