Expand description
Allocate heap memory with user-specified alignment.
Structs§
- Aligned
Box - A wrapper around
alloc::boxed::Boxwhich allows allocating aligned heap memory. An instance ofAlignedBox<T>consists of aBox<T>and thealloc::alloc::Layoutthat has been used to allocate the referenced memory.
Enums§
- Aligned
BoxError - Error type for custom errors of
AlignedBox.