Enum regex_syntax::hir::RepetitionKind [] [src]

pub enum RepetitionKind {
    ZeroOrOne,
    ZeroOrMore,
    OneOrMore,
    Range(RepetitionRange),
}

The kind of a repetition operator.

Variants

Matches a sub-expression zero or one times.

Matches a sub-expression zero or more times.

Matches a sub-expression one or more times.

Matches a sub-expression within a bounded range of times.

Trait Implementations

impl Clone for RepetitionKind
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RepetitionKind
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for RepetitionKind
[src]

impl PartialEq for RepetitionKind
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations