Skip to main content

Module layout

Module layout 

Source

Re-exportsยง

pub use ty::Layout;
pub use ty::TyAbiInterface;
pub use ty::TyAndLayout;

Modulesยง

coroutine ๐Ÿ”’
Coroutine layout logic.
simple ๐Ÿ”’
ty ๐Ÿ”’

Structsยง

FieldIdx
The source-order index of a field in a variant.
LayoutCalculator
VariantIdx
The source-order index of a variant in a type.

Enumsยง

LayoutCalculatorError
NicheBias ๐Ÿ”’
Determines towards which end of a struct layout optimizations will try to place the best niches.
VectorKind ๐Ÿ”’

Constantsยง

FIRST_VARIANT
Equivalent to VariantIdx(0).

Functionsยง

absent ๐Ÿ”’
vector_type_layout ๐Ÿ”’

Type Aliasesยง

LayoutCalculatorResult ๐Ÿ”’