Module repr_offset::alignment

source ·
Expand description

Type-level encoding of enum Alignment { Aligned, Unaligned }

Structs§

  • A marker type representing that a FieldOffset is for an aligned field.
  • A marker type representing that a FieldOffset is for a (potentially) unaligned field.

Traits§

  • Marker trait for types that represents the alignment of a FieldOffset.
  • Trait that combines two Alignment types, determines the return type of FieldOffset + FieldOffset.

Type Aliases§