Crate aligned_box

source ·
Expand description

Allocate heap memory with user-specified alignment.

Structs§

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

Enums§