A heap-allocated object.
struct Box<T, Heap = Libc>
where Heap: Allocator,
{
/* private fields */
}| Name | Description |
|---|---|
| new | Creates a new box. |
| Name | Description |
|---|---|
| Debug | Objects that can be formatted in a "debug" form. |
| Deref | Objects that implement the immutable dereference operator. |
| DerefMut | Objects that implement the mutable dereference operator. |
| Drop | Objects with a destructor. |