Enum regex_syntax::hir::RepetitionKind [−][src]
pub enum RepetitionKind {
ZeroOrOne,
ZeroOrMore,
OneOrMore,
Range(RepetitionRange),
}The kind of a repetition operator.
Variants
ZeroOrOneMatches a sub-expression zero or one times.
ZeroOrMoreMatches a sub-expression zero or more times.
OneOrMoreMatches 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 RepetitionKindfn clone(&self) -> RepetitionKind[src]
fn clone(&self) -> RepetitionKindReturns 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 RepetitionKind[src]
impl Debug for RepetitionKindfn 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 RepetitionKind[src]
impl Eq for RepetitionKindimpl PartialEq for RepetitionKind[src]
impl PartialEq for RepetitionKindfn eq(&self, other: &RepetitionKind) -> bool[src]
fn eq(&self, other: &RepetitionKind) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &RepetitionKind) -> bool[src]
fn ne(&self, other: &RepetitionKind) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for RepetitionKind
impl Send for RepetitionKindimpl Sync for RepetitionKind
impl Sync for RepetitionKind