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

pub struct FieldPat {
    pub ident: Ident,
    pub pat: P<Pat>,
    pub is_shorthand: bool,
}

Fields

ident
pat
is_shorthand

Trait Implementations

Derived Implementations

impl Debug for FieldPat

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

impl Hash for FieldPat

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

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

impl Decodable for FieldPat

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

impl Encodable for FieldPat

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

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)