Crate allocator_api2

Source
Expand description

allocator-api2 crate.

Modules§

alloc
Memory allocation APIs
boxed
The Box<T> type for heap allocation.
collections
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros§

unsize_box
Allows turning a Box<T: Sized, A> into a Box<U: ?Sized, A> where T can be unsizing-coerced into a U.
vec
Creates a Vec containing the arguments.

Traits§

SliceExt
Slice methods that use Box and Vec from this crate.