Module repc::layout[][src]

Expand description

Types describing the structure and layout of C types.

Maybe of these types take a Layout type parameter. The two predominant implementations of Layout are TypeLayout and (). Type<TypeLayout> can be converted to Type<()> by calling Type::<TypeLayout>::into().

Structs

An array.

The layout of a field.

A record.

A field of a record.

A C type.

The computed layout of a type.

Enums

An annotation of a type or field.

A builtin type.

The type of a record. Either a struct or a union.

An enum of all available types.

Traits

A collection of types encoding the layout of a type.