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

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

Fields

id
node
span

Trait Implementations

Derived Implementations

impl Show for Pat

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

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

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

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

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

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

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

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)