[][src]Module aligned_utils::stack

Aligned newtypes

use aligned_utils::stack::Align8;
let mut arr = Align8([1, 2, 3]);
let bytes: &[u8] = &*arr;

Structs

Align2

A newtype with alignment of at least 2 bytes

Align4

A newtype with alignment of at least 4 bytes

Align8

A newtype with alignment of at least 8 bytes

Align16

A newtype with alignment of at least 16 bytes

Align32

A newtype with alignment of at least 32 bytes

Align64

A newtype with alignment of at least 64 bytes

Align128

A newtype with alignment of at least 128 bytes

Align256

A newtype with alignment of at least 256 bytes

Align512

A newtype with alignment of at least 512 bytes

Align1024

A newtype with alignment of at least 1024 bytes

Align2048

A newtype with alignment of at least 2048 bytes

Align4096

A newtype with alignment of at least 4096 bytes