Struct syntax::ast::FieldUnstable [-]  [+] [src]

pub struct Field {
    pub ident: SpannedIdent,
    pub expr: P<Expr>,
    pub span: Span,
}

Fields

ident
expr
span

Trait Implementations

Derived Implementations

impl Show for Field

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl<__S: Writer + Hasher> Hash<__S> for Field

fn hash(&self, __arg_0: &mut __S)

impl Decodable for Field

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Field, Error>

impl Encodable for Field

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for Field

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Field

fn eq(&self, __arg_0: &Field) -> bool

fn ne(&self, __arg_0: &Field) -> bool

impl Clone for Field

fn clone(&self) -> Field

fn clone_from(&mut self, source: &Self)