Struct darling_core::util::Ignored [] [src]

pub struct Ignored;

An efficient way of discarding data from an attribute.

All meta-items, fields, and variants will be successfully read into the Ignored struct, with all properties discarded.

Trait Implementations

impl Debug for Ignored
[src]

Formats the value using the given formatter.

impl Clone for Ignored
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Ignored
[src]

impl PartialEq for Ignored
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Ignored
[src]

impl Hash for Ignored
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl FromMetaItem for Ignored
[src]

Create an instance from a syn::MetaItem 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.

impl FromDeriveInput for Ignored
[src]

Create an instance from syn::DeriveInput, or return an error.

impl FromField for Ignored
[src]

impl FromVariant for Ignored
[src]

Create an instance from syn::Variant, or return an error.