Enum regex_syntax::hir::RepetitionRange
[−]
[src]
pub enum RepetitionRange { Exactly(u32), AtLeast(u32), Bounded(u32, u32), }
The kind of a counted repetition operator.
Variants
Exactly(u32)
Matches a sub-expression exactly this many times.
AtLeast(u32)
Matches a sub-expression at least this many times.
Bounded(u32, u32)
Matches a sub-expression at least m
times and at most n
times.
Trait Implementations
impl Clone for RepetitionRange
[src]
fn clone(&self) -> RepetitionRange
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for RepetitionRange
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for RepetitionRange
[src]
impl PartialEq for RepetitionRange
[src]
fn eq(&self, __arg_0: &RepetitionRange) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RepetitionRange) -> bool
[src]
This method tests for !=
.