pub enum RepetitionQuantifierKind {
ZeroOrOne,
ZeroOrMore,
OneOrMore,
}
Expand description
Denotes how much times a repetition shall be repeated.
Variants§
ZeroOrOne
Zero or one repetitions (?
operator).
ZeroOrMore
Zero or more repetitions (*
operator).
OneOrMore
One or more repetitions (+
operator).
Trait Implementations§
Source§impl Clone for RepetitionQuantifierKind
impl Clone for RepetitionQuantifierKind
Source§fn clone(&self) -> RepetitionQuantifierKind
fn clone(&self) -> RepetitionQuantifierKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RepetitionQuantifierKind
impl Debug for RepetitionQuantifierKind
Source§impl Hash for RepetitionQuantifierKind
impl Hash for RepetitionQuantifierKind
Source§impl PartialEq for RepetitionQuantifierKind
impl PartialEq for RepetitionQuantifierKind
impl Copy for RepetitionQuantifierKind
impl Eq for RepetitionQuantifierKind
impl StructuralPartialEq for RepetitionQuantifierKind
Auto Trait Implementations§
impl Freeze for RepetitionQuantifierKind
impl RefUnwindSafe for RepetitionQuantifierKind
impl Send for RepetitionQuantifierKind
impl Sync for RepetitionQuantifierKind
impl Unpin for RepetitionQuantifierKind
impl UnwindSafe for RepetitionQuantifierKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more