Struct syntax::ast::Pat [−][src]
Fields
id: NodeId
node: PatKind
span: Span
Methods
impl Pat
[src]
impl Pat
Trait Implementations
impl Clone for Pat
[src]
impl Clone for Pat
fn clone(&self) -> Pat
[src]
fn clone(&self) -> Pat
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Pat
[src]
impl PartialEq for Pat
fn eq(&self, other: &Pat) -> bool
[src]
fn eq(&self, other: &Pat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Pat) -> bool
[src]
fn ne(&self, other: &Pat) -> bool
This method tests for !=
.
impl Eq for Pat
[src]
impl Eq for Pat
impl Encodable for Pat
[src]
impl Encodable for Pat
impl Decodable for Pat
[src]
impl Decodable for Pat
impl Hash for Pat
[src]
impl Hash for Pat
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Debug for Pat
[src]
impl Debug for Pat