Crate allocator_api2
Available on crate feature
dep_allocator_api2 only.Expand description
allocator-api2
Mirror of Rust’s allocator api for use on stable rust
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 aBox<U: ?Sized, A>whereTcan be unsizing-coerced into aU. - vec
- Creates a
Veccontaining the arguments.
Traits§
- Slice
Ext - Slice methods that use
BoxandVecfrom this crate.