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 Debug for Field

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

impl Hash for Field

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

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)