Trait matchers::ToMatcher[][src]

pub trait ToMatcher<'a, S> where
    Self: Sealed,
    S: StateID + 'a, 
{ type Automaton: DFA<ID = S>; fn matcher(&'a self) -> Matcher<'a, S, Self::Automaton>

Notable traits for Matcher<'a, S, A>

impl<'a, S, A> Write for Matcher<'a, S, A> where
    S: StateID,
    A: DFA<ID = S>, 
; }

Associated Types

type Automaton: DFA<ID = S>[src]

Loading content...

Required methods

fn matcher(&'a self) -> Matcher<'a, S, Self::Automaton>

Notable traits for Matcher<'a, S, A>

impl<'a, S, A> Write for Matcher<'a, S, A> where
    S: StateID,
    A: DFA<ID = S>, 
[src]

Loading content...

Implementors

impl<'a, S> ToMatcher<'a, S> for Pattern<S, DenseDFA<Vec<S>, S>> where
    S: StateID + 'a, 
[src]

type Automaton = DenseDFA<&'a [S], S>

impl<'a, S> ToMatcher<'a, S> for Pattern<S, SparseDFA<Vec<u8>, S>> where
    S: StateID + 'a, 
[src]

type Automaton = SparseDFA<&'a [u8], S>

Loading content...