Module allocator_api

Source
Expand description

Re-exports the most important items of the allocator-api2 crate.

Structs§

Box
A pointer type that uniquely owns a heap allocation of type T.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.
GlobalExperimental
The global memory allocator.

Traits§

AllocatorExperimental
An implementation of Allocator can allocate, grow, shrink, and deallocate arbitrary blocks of data described via Layout.