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

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

Fields

Methods

impl FromVariantOptions
[src]

Trait Implementations

impl Debug for FromVariantOptions
[src]

Formats the value using the given formatter.

impl Clone for FromVariantOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for FromVariantOptions
[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 FromVariantOptions
[src]

impl ParseAttribute for FromVariantOptions
[src]

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

impl ParseBody for FromVariantOptions
[src]

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

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