Crate derive_attribute_utils
source ·Modules
Structs
- A result type that can contain multiple errors and a value at the same time.
- Allows a type to implement
CustomArgFromMeta
, a simplified version ofTryFromMeta
. - Deserialization functions & types for Syn version 1
- Deserialization functions & types for Syn version 1
Enums
Traits
- Represents a struct that can be deserialized from Syn attributes.
- Combines an argument with a previously stored instance.
- A simplified version of the
TryFromMeta
trait. Types that implement this must be wrapped in theCustomArg
struct. - Gets the Span of Syn metadata
- Represents a Syn version and how it can parse attribute data into values
- A trait for deserializing Syn metadata.
Its recommended that you use theCustomArgFromMeta
trait for deserializing simple arguments.
Functions
- Validates a simple required type.