Enum syn_helpers::Fields[][src]

pub enum Fields<'a> {
    Named {
        on_structure: Structure<'a>,
        fields: Vec<NamedField<'a>>,
    },
    Unnamed {
        on_structure: Structure<'a>,
        fields: Vec<UnnamedField<'a>>,
    },
    Unit {
        on_structure: Structure<'a>,
    },
}

Variants

Named

Fields

on_structure: Structure<'a>
fields: Vec<NamedField<'a>>

Unnamed

Fields

on_structure: Structure<'a>
fields: Vec<UnnamedField<'a>>

Unit

Fields

on_structure: Structure<'a>

Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.