Enum regex::exec::MatchType[][src]

enum MatchType {
    Literal(MatchLiteralType),
    Dfa,
    DfaAnchoredReverse,
    DfaSuffix,
    DfaMany,
    Nfa(MatchNfaType),
    Nothing,
}

Variants

A single or multiple literal search. This is only used when the regex can be decomposed into unambiguous literal search.

A normal DFA search.

A reverse DFA search starting from the end of a haystack.

A reverse DFA search with suffix literal scanning.

Use the DFA on two or more regular expressions.

An NFA variant.

No match is ever possible, so don't ever try to search.

Trait Implementations

impl Clone for MatchType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MatchType
[src]

impl Debug for MatchType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for MatchType

impl Sync for MatchType