Expand description
A pointer type for heap allocation.
Box<T, A>
is similar to
std::boxed::Box<T>
,
but pointers are associated with a specific allocator, allowing boxed pointers
in different heaps.
Structs§
Functions§
- from_
boxed_ ⚠utf8_ unchecked - Converts a boxed slice of bytes to a boxed string slice without checking that the string contains valid UTF-8.