Skip to main content

Module layout

Module layout 

Source
Expand description

The layout of types.

Structs§

Layout
Type layout information.
ReprOptions
The representation options as annotated by the user.
TargetInfo
VariantLayout
Simplified layout of a single variant.

Enums§

AlignmentModifier
Describes modifiers to the alignment and packing of the corresponding type. Represents repr(align(n)) and repr(packed(n)).
DiscriminantReadError
Discriminator
Decision tree used to determine the active variant by reading memory. Mirrors MiniRust’s Discriminator.
ReprAlgorithm
Describes which layout algorithm is used for representing the corresponding type. Depends on the #[repr(...)] used.

Type Aliases§

ByteCount