Enum regex_syntax::hir::RepetitionRange [] [src]

pub enum RepetitionRange {
    Exactly(u32),
    AtLeast(u32),
    Bounded(u32u32),
}

The kind of a counted repetition operator.

Variants

Matches a sub-expression exactly this many times.

Matches a sub-expression at least this many times.

Matches a sub-expression at least m times and at most n times.

Trait Implementations

impl Clone for RepetitionRange
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for RepetitionRange
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for RepetitionRange
[src]

impl PartialEq for RepetitionRange
[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