matchers

Trait 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,

Source§

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

Source§

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