Struct darling_core::options::FromVariantOptions [] [src]

pub struct FromVariantOptions {
    pub base: OuterFrom,
    pub fields: Option<Ident>,
    pub supports: Option<DataShape>,
}

Fields

Methods

impl FromVariantOptions
[src]

[src]

Trait Implementations

impl Debug for FromVariantOptions
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for FromVariantOptions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for FromVariantOptions
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for FromVariantOptions
[src]

impl<'a> From<&'a FromVariantOptions> for FromVariantImpl<'a>
[src]

[src]

Performs the conversion.

impl ParseAttribute for FromVariantOptions
[src]

[src]

Read a meta-item, and apply its values to the current instance.

[src]

impl ParseData for FromVariantOptions
[src]

[src]

Apply the next found struct field to the object, returning an error if parsing goes wrong. Read more

[src]

[src]

Apply the next found variant to the object, returning an error if parsing goes wrong. Read more

Auto Trait Implementations