Enum regex_syntax::hir::RepetitionKind [−][src]
pub enum RepetitionKind {
ZeroOrOne,
ZeroOrMore,
OneOrMore,
Range(RepetitionRange),
}The kind of a repetition operator.
Variants
Matches a sub-expression zero or one times.
Matches a sub-expression zero or more times.
Matches a sub-expression one or more times.
Range(RepetitionRange)Matches a sub-expression within a bounded range of times.
Trait Implementations
impl Clone for RepetitionKind[src]
impl Clone for RepetitionKind[src]fn clone(&self) -> RepetitionKind[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl PartialEq<RepetitionKind> for RepetitionKind[src]
impl PartialEq<RepetitionKind> for RepetitionKind[src]