[][src]Crate align_data

Simply increase the alignment of any statics or include_bytes!.

Macros

aligned

Returns a static reference of the expression $e with requested alignment.

include_aligned

Includes bytes with given alignment.

include_transmute

Transmutes the included bytes.

Structs

Align4K

Align to 4KiB.

Align16

Align to 16 bytes.

Align32

Align to 32 bytes.

Align64

Align to 64 bytes.

Align128

Align to 128 bytes.

Align256

Align to 256 bytes.

Align512

Align to 512 bytes.

Aligned

Helper which enforces that its given T is aligned to at least the requested alignment of A.