Struct syntax::ast::Pat [−][src]
Fields
id: NodeId
node: PatKind
span: Span
Methods
impl Pat[src]
impl PatTrait Implementations
impl Clone for Pat[src]
impl Clone for Patfn clone(&self) -> Pat[src]
fn clone(&self) -> PatReturns 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 Patfn eq(&self, other: &Pat) -> bool[src]
fn eq(&self, other: &Pat) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for Pat[src]
impl Eq for Patimpl Encodable for Pat[src]
impl Encodable for Patimpl Decodable for Pat[src]
impl Decodable for Patimpl Hash for Pat[src]
impl Hash for Patfn 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