Function alloc::heap::exchange_malloc [] [src]

unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8
Unstable (heap_api #27700)

: the precise API and guarantees it provides may be tweaked slightly, especially to possibly take into account the types being stored to make room for a future tracing garbage collector

The allocator for unique pointers.