Struct syn::Field [−][src]
A field of a struct or enum variant.
Fields
ident: Option<Ident>
Name of the field, if any.
Fields of tuple structs have no names.
vis: Visibility
Visibility of the field.
attrs: Vec<Attribute>
Attributes tagged on the field.
ty: Ty
Type of the field.
Trait Implementations
impl ToTokens for Field
[src]
[+]
impl ToTokens for Field
impl Debug for Field
[src]
[+]
impl Debug for Field
impl Clone for Field
[src]
[+]
impl Clone for Field
impl Eq for Field
[src]
impl Eq for Field
impl PartialEq for Field
[src]
[+]
impl PartialEq for Field
impl Hash for Field
[src]
[+]
impl Hash for Field