Struct syn::Field [] [src]

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


Trait Implementations

impl ToTokens for Field

impl Debug for Field

Formats the value using the given formatter.

impl Clone for Field

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Field

impl PartialEq for Field

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

This method tests for !=.