Struct syntax::ast::FieldPat[src]

pub struct FieldPat {
    pub ident: Ident,
    pub pat: Gc<Pat>,
}

Fields

ident
pat

Trait Implementations

Derived Implementations

impl<__S: Writer> Hash<__S> for FieldPat

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

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

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

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

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

impl Eq for FieldPat

fn assert_receiver_is_total_eq(&self)

impl PartialEq for FieldPat

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

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

impl Clone for FieldPat

fn clone(&self) -> FieldPat

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