Enum gbnf::RepetitionType
source · pub enum RepetitionType {
ZeroOrMore,
OneOrMore,
ZeroOrOne,
One,
}Variants§
Trait Implementations§
source§impl Clone for RepetitionType
impl Clone for RepetitionType
source§fn clone(&self) -> RepetitionType
fn clone(&self) -> RepetitionType
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 RepetitionType
impl Debug for RepetitionType
Auto Trait Implementations§
impl RefUnwindSafe for RepetitionType
impl Send for RepetitionType
impl Sync for RepetitionType
impl Unpin for RepetitionType
impl UnwindSafe for RepetitionType
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