[][src]Module allocator_api::boxed

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

Box

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.