Crate allocator_api2
source ·Expand description
allocator-api2 crate.
Modules§
- Memory allocation APIs
- The
Box<T>
type for heap allocation. - stable 🔒
- A contiguous growable array type with heap-allocated contents, written
Vec<T>
.
Macros§
- Allows turning a
Box<T: Sized, A>
into aBox<U: ?Sized, A>
whereT
can be unsizing-coerced into aU
. - Creates a
Vec
containing the arguments.
Traits§
- Slice methods that use
Box
andVec
from this crate.