Skip to main content

Module align

Module align 

Source
Expand description

Holds the Align primitive.

Structs§

Align
Represents a zero-sized type that has ALIGN as its alignment. By embedding it into a struct we can enforce a different alignment based on const ALIGN: usize generic parameter.

Traits§

Alignment
A helper trait to put for constrainting generic ALIGN parameter.