Struct syntex_syntax::ast::Pat [] [src]

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

Fields

id
node
span

Trait Implementations

impl Debug for Pat

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

Derived Implementations

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, __D::Error>

impl Encodable for Pat

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

impl Eq for Pat

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)