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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RepetitionRange
[src]

Formats the value using the given formatter. Read more

impl Eq for RepetitionRange
[src]

impl PartialEq for RepetitionRange
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for RepetitionRange

impl Sync for RepetitionRange