Trait matchers::ToMatcher

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

Required Associated Types§

source

type Automaton: DFA<ID = S>

Required Methods§

source

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

Implementors§

source§

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

§

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

source§

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

§

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