pub type Box<T> = Box<T>;Expand description
A pointer type that uniquely owns a heap allocation of type T.
§Feature Variants
- With
allocfeature: Standard heap-allocatedBox<T>from the alloc crate - Without
allocfeature: Transparent newtype holdingTinline
Aliased Type§
pub struct Box<T>(/* private fields */);