Trait exprz::pattern::PatternMut[][src]

pub trait PatternMut<E> where
    E: Expression
{ fn matches_atom(&mut self, atom: &E::Atom) -> bool;
fn matches_group(
        &mut self,
        group: <E::Group as IntoIteratorGen<E>>::IterGen
    ) -> bool; fn matches(&mut self, expr: &E) -> bool { ... } }
This is supported on crate feature pattern only.

Mutating Pattern Trait

Required methods

fn matches_atom(&mut self, atom: &E::Atom) -> bool[src]

Checks if the pattern matches an atom.

fn matches_group(
    &mut self,
    group: <E::Group as IntoIteratorGen<E>>::IterGen
) -> bool
[src]

Checks if the pattern matches a group.

Loading content...

Provided methods

fn matches(&mut self, expr: &E) -> bool[src]

Checks if the pattern matches an expression.

Loading content...

Implementors

impl<'p, W, P, E> PatternMut<E> for WildCardPattern<'p, W, P> where
    E: Expression,
    W: FnMut(&P::Atom) -> bool,
    P: Expression,
    P::Atom: PartialEq<E::Atom>, 
[src]

Loading content...