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 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 !=.

impl Eq for Field
[src]

impl Encodable for Field
[src]

impl Decodable for Field
[src]

impl Hash for Field
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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