Enum regex::exec::MatchType [−][src]
enum MatchType { Literal(MatchLiteralType), Dfa, DfaAnchoredReverse, DfaSuffix, DfaMany, Nfa(MatchNfaType), Nothing, }
Variants
Literal(MatchLiteralType)
A single or multiple literal search. This is only used when the regex can be decomposed into unambiguous literal search.
Dfa
A normal DFA search.
DfaAnchoredReverse
A reverse DFA search starting from the end of a haystack.
DfaSuffix
A reverse DFA search with suffix literal scanning.
DfaMany
Use the DFA on two or more regular expressions.
Nfa(MatchNfaType)
An NFA variant.
Nothing
No match is ever possible, so don't ever try to search.
Trait Implementations
impl Clone for MatchType
[src]
impl Clone for MatchType
fn clone(&self) -> MatchType
[src]
fn clone(&self) -> MatchType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for MatchType
[src]
impl Copy for MatchType
impl Debug for MatchType
[src]
impl Debug for MatchType