[][src]Crate aligned_box

Allocate heap memory with user-specified alignment.

Structs

AlignedBox

A wrapper around std::boxed::Box which allows allocating aligned heap memory. An instance of AlignedBox<T> consists of a Box<T> and the std::alloc::Layout that has been used to allocate the referenced memory.

Enums

AlignedBoxError

Error type for custom errors of AlignedBox.