Enum rush_pat::pat::Pat [] [src]

pub enum Pat {
    Tup(Vec<Pat>),
    ID(String),
    Str(String),
    StrList(Vec<String>),
    Wild(Vec<Pat>),
    Bind(StringBox<Pat>),
    Rng(Range),
    Rex(RegexEq),
}

Variants

Methods

impl Pat
[src]

Trait Implementations

impl Debug for Pat
[src]

Formats the value using the given formatter.

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 Subsumes for Pat
[src]