Struct lrs::bx::Box

A heap-allocated object.

Syntax

struct Box<T, Heap = Libc>
    where Heap: Allocator,
{
    /* private fields */
}

Static methods

NameDescription
new

Creates a new box.

Trait implementations

NameDescription
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.