Crate aggregate_types
source ·Expand description
Data structures used to represent the output of Aggregate
.
Structs
Represents a structure-level tuple of attributes and fields.
New type around a vector of attributes that implements
quote::ToTokens
.A newtype around DescendantMap that implements
quote::ToTokens
and tracks its belonging to a collection (“variation”) for use with enums.Represents a field-level tuple of attributes and an inner structure.
New type around a FieldMap that implements
quote::ToTokens
.Type Definitions
Maps from field identifier to type.
In order to group this into variations,
the wrapper
Descendants
is used. Maps from field/variation identifier to field.