Expand description
The layout of types.
Structs§
- Layout
- Type layout information.
- Repr
Options - The representation options as annotated by the user.
- Target
Info - Variant
Layout - Simplified layout of a single variant.
Enums§
- Alignment
Modifier - Describes modifiers to the alignment and packing of the corresponding type.
Represents
repr(align(n))andrepr(packed(n)). - Discriminant
Read Error - Discriminator
- Decision tree used to determine the active variant by reading memory. Mirrors MiniRust’s
Discriminator. - Repr
Algorithm - Describes which layout algorithm is used for representing the corresponding type.
Depends on the
#[repr(...)]used.