Module repc::layout [−][src]
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
Array | An array. |
FieldLayout | The layout of a field. |
Record | A record. |
RecordField | A field of a record. |
Type | A C type. |
TypeLayout | The computed layout of a type. |
Enums
Annotation | An annotation of a type or field. |
BuiltinType | A builtin type. |
RecordKind | The type of a record. Either a struct or a union. |
TypeVariant | An enum of all available types. |
Traits
Layout | A collection of types encoding the layout of a type. |