Struct syntax::ast::FieldExperimental [-]  [+] [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> Hash<__S> for Field

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

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for Field

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

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for Field

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

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)