Crate derive_attribute_utils
Source - reexports
- ArgResult
- A result type that can contain multiple errors and a value at the same time.
- CustomArg
- Allows a type to implement
CustomArgFromMeta
, a simplified version of TryFromMeta
. - Error
- Syn1
- Deserialization functions & types for Syn version 1
- Syn2
- Deserialization functions & types for Syn version 1
- ErrorMsg
- Attribute
- Represents a struct that can be deserialized from Syn attributes.
- AttributeName
- Concat
- Combines an argument with a previously stored instance.
- CustomArgFromMeta
- A simplified version of the
TryFromMeta
trait. Types that implement this must be wrapped in the CustomArg
struct. - GetSpan
- Gets the Span of Syn metadata
- SynVersion
- Represents a Syn version and how it can parse attribute data into values
- TryFromMeta
- A trait for deserializing Syn metadata.
Its recommended that you use the CustomArgFromMeta
trait for deserializing simple arguments.
- required_validation
- Validates a simple required type.