Struct syntax::ast::Pat[][src]

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

Fields

Methods

impl Pat
[src]

Trait Implementations

impl Clone for Pat
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Pat
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Pat
[src]

impl Encodable for Pat
[src]

impl Decodable for Pat
[src]

impl Hash for Pat
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Pat
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for Pat

impl !Sync for Pat