Enum sanakirja::Alignment [] [src]

#[repr(u16)]
pub enum Alignment { B1, B2, B4, B8, }

Alignment of representables on page. The only implication is on how the write_value and read_value methods are going to be implemented.

Variants

1 byte-aligned

2 bytes-aligned (i.e. this is a pointer to a u16 or i16)

4 bytes-aligned (i.e. this is a pointer to a u32 or i32)

8 bytes-aligned (i.e. this is a pointer to a u64 or i64)