Crate despatma_lib[][src]

Library for the despatma crate. This library has some extra tokens not defined in syn that are used by despatma. These are used as options for design pattern inputs or for type inputs.

Optional features

Like syn, some functionality are behind optional features to optimize compile-time. Currently the follow feature is available:

  • extra-traits — Debug, Eq, PartialEq, Hash impls for all syntax tree types.

Modules

extensions

Structs

AnnotatedType

Holds a type that is optionally annotated with key-value options.

KeyValue

Holds a single key value attribute, with the value being optional.

OptionsAttribute

Holds an outer attribute filled with key-value options.

SimpleType

Holds a simple type that is optionally annotated as dyn.

TraitSpecifier

Type that holds an abstract type and how it will map to a concrete type.