Module alignment

Source
Expand description

Alignment helpers.

Structs§

Aligned
Aligns a value to another type’s alignment.

Functions§

allocate_aligned_slice
Allocate a boxed slice of count Ts aligned to the AlignTo type.
allocate_max_aligned_slice
Allocate a boxed slice of scalars with maximum possible vector alignment for a particular scalar on the current architecture.

Type Aliases§

MaxAligned
Aligns a type to the maximum possible vector alignment for a particular scalar on the current architecture.