Enum regex_syntax::hir::RepetitionRange [−][src]
Expand description
The kind of a counted repetition operator.
Variants
Exactly(u32)
Matches a sub-expression exactly this many times.
Tuple Fields of Exactly
0: u32
AtLeast(u32)
Matches a sub-expression at least this many times.
Tuple Fields of AtLeast
0: u32
Matches a sub-expression at least m
times and at most n
times.
Trait Implementations
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 RefUnwindSafe for RepetitionRange
impl Send for RepetitionRange
impl Sync for RepetitionRange
impl Unpin for RepetitionRange
impl UnwindSafe for RepetitionRange
Blanket Implementations
Mutably borrows from an owned value. Read more