Signature
Trait functions
new
Creates a newBox
with the given value.
Allocates space in the boxed segment for the provided value
and returns a Box
that points to it.
Signature
Examples
unbox
Unboxes the givenBox
and returns the wrapped value.
Signature
Examples
as_snapshot
Converts the given snapshot of aBox
into a Box
of a snapshot.
Useful for structures that aren’t copyable.