Enum regex_syntax::ast::RepetitionKind
source · [−]pub enum RepetitionKind {
ZeroOrOne,
ZeroOrMore,
OneOrMore,
Range(RepetitionRange),
}
Expand description
The kind of a repetition operator.
Variants
ZeroOrOne
?
ZeroOrMore
*
OneOrMore
+
Range(RepetitionRange)
{m,n}
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 RepetitionKind
impl Send for RepetitionKind
impl Sync for RepetitionKind
impl Unpin for RepetitionKind
impl UnwindSafe for RepetitionKind
Blanket Implementations
Mutably borrows from an owned value. Read more