Module generator

Source
Expand description

The generator module contains the code Generator and all related types.

Modules§

renderer
The renderer module contains different types that implements the Renderer trait.

Structs§

BoxFlags
Flags to tell the Generator how to deal with boxed types.
BuildInType
Contains additional information for the rendering process of a TypeVariant::BuildIn type.
ComplexTypeAttribute
Contains the details of an XML attribute.
ComplexTypeBase
Contains basic information for that is shared between ComplexTypeEnum and ComplexTypeStruct.
ComplexTypeContent
Contains details about the content of a struct.
ComplexTypeElement
Contains the details of an XML element.
ComplexTypeEnum
Represents a rust enum.
ComplexTypeStruct
Represents a rust struct.
Config
Contains the configuration of the generator.
Context
Context for the rendering process.
DerivedType
Represents a derived type used by DynamicType.
DynamicType
Contains additional information for the rendering process of a TypeVariant::Dynamic type.
EnumerationType
Contains additional information for the rendering process of a TypeVariant::Enumeration type.
EnumerationTypeVariant
Represents a enumeration variant used by EnumerationType.
Generator
Type that is used to generate rust code from a Types object.
GeneratorFixed
Type that is used to generate rust code from a Types object.
GeneratorFlags
Different flags that control what code the Generator is generating.
ReferenceType
Contains additional information for the rendering process of a TypeVariant::Reference type.
UnionType
Contains additional information for the rendering process of a TypeVariant::Union type.
UnionTypeVariant
Type variant used in UnionType.

Enums§

ComplexType
Contains additional information for the rendering process of a TypeVariant::All, TypeVariant::Choice, TypeVariant::Sequence or TypeVariant::ComplexType type.
Error
Error that might be raised by the Generator.
SerdeSupport
Tells the Generator how to generate code for the serde crate.
StructMode
Content of a rust struct.
TypeData
Represents the type data that is generated by teh generator for a type that needs to be rendered.
TypedefMode
Tells the Generator how to deal with type definitions.