Module alloc::heap[src]

Statics

pub static mut EMPTY: uint = 12345  

Functions

allocate

Return a pointer to size bytes of memory.

deallocate

Deallocate the memory referenced by ptr.

reallocate

Extend or shrink the allocation referenced by ptr to size bytes of memory.

reallocate_inplace

Extend or shrink the allocation referenced by ptr to size bytes of memory in-place.

stats_print

Print implementation-defined allocator statistics.

usable_size

Return the usable size of an allocation created with the specified the size and align.