A pointer type for heap allocation.
The error type for allocation failure.
The global memory allocator.
Layout of a block of memory.
An implementation of Allocator can allocate, grow, shrink, and deallocate arbitrary blocks of data described via Layout.
Allocator
Layout
Tries to clone, return an error instead of panic if allocation failed.