Enum regex_syntax::Repeater
[−]
[src]
The type of a repeat operator expression.
Variants
ZeroOrOneMatch zero or one (?).
ZeroOrMoreMatch zero or more (*).
OneOrMoreMatch one or more (+).
RangeMatch for at least min and at most max ({m,n}).
When max is None, there is no upper bound on the number of matches.
Fields of Range
min: u32 | Lower bound on the number of matches. |
max: Option<u32> | Optional upper bound on the number of matches. |
Trait Implementations
impl Clone for Repeater[src]
impl Clone for Repeaterfn clone(&self) -> Repeater[src]
fn clone(&self) -> RepeaterReturns 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 Copy for Repeater[src]
impl Copy for Repeaterimpl Debug for Repeater[src]
impl Debug for Repeaterfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Repeater[src]
impl PartialEq for Repeaterfn eq(&self, __arg_0: &Repeater) -> bool[src]
fn eq(&self, __arg_0: &Repeater) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Repeater) -> bool[src]
fn ne(&self, __arg_0: &Repeater) -> boolThis method tests for !=.
impl Eq for Repeater[src]
impl Eq for Repeaterimpl Display for Repeater[src]
impl Display for Repeater