Skip to main content

AlignedSlice

Type Alias AlignedSlice 

Source
pub type AlignedSlice<T> = Poly<[T], AlignedAllocator>;
Expand description

Type alias for an aligned, heap-allocated slice

Shorthand for Poly<[T], AlignedAllocator> which is intended for allocations requiring specific alignment (e.g. cache-line or disk-sector alignment)

Aliased Typeยง

pub struct AlignedSlice<T> { /* private fields */ }