[][src]Module syn_str::custom_types

Structs

AnonymousStruct

An anonymous struct used by the fields of an Enum.

Enum

An enum with their interface and a vector of variants.

EnumInterface

An enum interface,with a visibility,a name and a vector of generics.

Field

A struct field;with an alignment,a visibiliy,an optional name and a type.

Generic

A generic annotation with a name and the trait bounds explicit.

Struct

A struct-like syntax item,can be also an union.

StructInterface

A struct-like syntax compound type declaration,with their visibility,type,name and generics.

TupleField

A tuple enum field.

Type

A type;with their name and align.

TypeAlias

A type alias;with an interface and a value.

TypeAliasInterface

A type alias interface;with a visibility,name and a vector of generics.

Enums

EnumVariant

An enum variant;either tuple,struct or fieldless.

StructType

An struct-like syntax compound type declaration,either struct or union.

Statics

ORDER_FIELDS

Flag for on/off reordering in fields of a struct or enum,true by default.

Traits

DisplayField

A convenient trait for for format a vector of fields with rust syntax.

DisplayGeneric

A convenient trait for for format a vector of generics with rust syntax.