Enum syn::VariantData [] [src]

pub enum VariantData {
    Struct(Vec<Field>),
    Tuple(Vec<Field>),
    Unit,
}

Variants

Methods

impl VariantData
[src]

Trait Implementations

impl ToTokens for VariantData
[src]

Write self to the given Tokens. Read more

impl Debug for VariantData
[src]

Formats the value using the given formatter.

impl Clone for VariantData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for VariantData
[src]

impl PartialEq for VariantData
[src]

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

This method tests for !=.