Crate despatma_lib

source ·
Expand description

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.

Structs§

  • Holds a type that is optionally annotated with key-value options.
  • Holds a single key value attribute, with the value being optional.
  • Holds an outer attribute filled with key-value options.
  • Holds a simple type that is optionally annotated as dyn.
  • Type that holds an abstract type and how it will map to a concrete type.