Struct syntax::ast::Field[][src]

pub struct Field {
    pub ident: Ident,
    pub expr: P<Expr>,
    pub span: Span,
    pub is_shorthand: bool,
    pub attrs: ThinVec<Attribute>,
}

Fields

Trait Implementations

impl Clone for Field
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Encodable for Field
[src]

impl Decodable for Field
[src]

impl Debug for Field
[src]

Formats the value using the given formatter. Read more

impl HasAttrs for Field
[src]

Important traits for &'a [u8]

Auto Trait Implementations

impl !Send for Field

impl !Sync for Field