pub enum GrammarType {
TerminalFragment = 0,
Terminal = 1,
Nonterminal = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for GrammarType
impl Clone for GrammarType
Source§fn clone(&self) -> GrammarType
fn clone(&self) -> GrammarType
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 GrammarType
impl Debug for GrammarType
Source§impl PartialEq for GrammarType
impl PartialEq for GrammarType
Source§impl TryFrom<i32> for GrammarType
impl TryFrom<i32> for GrammarType
impl Eq for GrammarType
impl StructuralPartialEq for GrammarType
Auto Trait Implementations§
impl Freeze for GrammarType
impl RefUnwindSafe for GrammarType
impl Send for GrammarType
impl Sync for GrammarType
impl Unpin for GrammarType
impl UnwindSafe for GrammarType
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