Enum regex_syntax::hir::RepetitionRange [−][src]
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]
impl Clone for RepetitionRangefn clone(&self) -> RepetitionRange[src]
fn clone(&self) -> RepetitionRangeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for RepetitionRange[src]
impl Debug for RepetitionRangefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for RepetitionRange[src]
impl Eq for RepetitionRangeimpl PartialEq for RepetitionRange[src]
impl PartialEq for RepetitionRangefn eq(&self, other: &RepetitionRange) -> bool[src]
fn eq(&self, other: &RepetitionRange) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RepetitionRange) -> bool[src]
fn ne(&self, other: &RepetitionRange) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for RepetitionRange
impl Send for RepetitionRangeimpl Sync for RepetitionRange
impl Sync for RepetitionRange