Struct syn::Field [] [src]

pub struct Field {
    pub ident: Option<Ident>,
    pub vis: Visibility,
    pub attrs: Vec<Attribute>,
    pub ty: Ty,
}

Fields

Trait Implementations

impl ToTokens for Field
[src]

impl Debug for Field
[src]

Formats the value using the given formatter.

impl Clone for Field
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Field
[src]

impl PartialEq for Field
[src]

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

This method tests for !=.