Module go_away::types [−][src]
Expand description
Defines the type model for go-away - a set of structs that describe types and can be used to generate copies of them in other languages.
Structs
Enum | An enum - note that in go-away these do not contain data. |
EnumVariant | An enum variant - note that these are just names and are serialized as strings. |
Field | A field within a struct |
NewType | A newtype struct (e.g. |
Struct | A struct. |
TypeRef | A reference to a given named type |
Union | A union type - any rust enum that’s variants contain data. |
UnionVariant | A variant of a union type |
Enums
FieldType | The type of a field. |
Primitive | The primitive types |
UnionRepresentation | The serialized representation of the union type |