Box
struct Box<T>
Owns a heap-allocated value.
Box
Box(T value)Moves the given value onto the heap.
~Box
~Box()Frees the owned value.
get
T* get()Returns a pointer to the owned value.
Owns a heap-allocated value.
Box(T value)Moves the given value onto the heap.
~Box()Frees the owned value.
T* get()Returns a pointer to the owned value.