[][src]Module abi_stable::abi_stability::type_layout

Types for modeling the layout of a datatype

Structs

FullType

The typename and generics of the type this layout is associated to, used for printing types.

GenericParams

Represents all the generic parameters of a type.

TLEnumVariant

The layout of an enum variant.

TLField

The layout of a field.

TLFieldAndType

Used to print a field as its field and its type.

TLPrefixType

vtables and modules that can be extended in minor versions.

TypeLayout

The layout of a type, also includes metadata about where the type was defined.

TypeLayoutParams

The parameters for TypeLayout::from_params.

Enums

LifetimeIndex

Which lifetime is being referenced by a field. Allows lifetimes to be renamed,so long as the "same" lifetime is being referenced.

RustPrimitive

What primitive type this is.Used mostly for printing the type.

TLData

What kind of type this is.struct/enum/etc.

TLDataDiscriminant

A discriminant-only version of TLData.