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

pub struct Pat {
    pub id: NodeId,
    pub node: Pat_,
    pub span: Span,
}

Fields

id
node
span

Trait Implementations

Derived Implementations

impl Debug for Pat

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

impl Hash for Pat

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

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

impl Decodable for Pat

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

impl Encodable for Pat

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

impl Eq for Pat

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Pat

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

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

impl Clone for Pat

fn clone(&self) -> Pat

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