Struct syntex_syntax::ast::Field [] [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, __D::Error>

impl Encodable for Field

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

impl Eq for Field

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)