Module allocator_api::boxed

source ·
Expand description

A pointer type for heap allocation.

Box<T, A> is similar to std::boxed::Box<T>, but pointers are associated with a specific allocator, allowing boxed pointers in different heaps.

Structs