Type Definition darling_core::error::Result[][src]

type Result<T> = Result<T, Error>;

An alias of Result specific to attribute parsing.

Trait Implementations

impl<T: FromGenerics> FromGenerics for Result<T>
[src]

impl<T: FromMeta> FromMeta for Result<T>
[src]

Create an instance from a syn::Meta by dispatching to the format-appropriate trait function. This generally should not be overridden by implementers. Read more

Create an instance from the presence of the word in the attribute with no additional options specified. Read more

Create an instance from a list of nested meta items.

Create an instance from a literal value of either foo = "bar" or foo("bar"). This dispatches to the appropriate method based on the type of literal encountered, and generally should not be overridden by implementers. Read more

Create an instance from a char literal in a value position.

Create an instance from a string literal in a value position.

Create an instance from a bool literal in a value position.