[][src]Trait matchers::ToMatcher

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>; }

Associated Types

type Automaton: DFA<ID = S>

Loading content...

Required methods

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

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...