pub enum YaccKindResolver {
Force(YaccKind),
Default(YaccKind),
NoDefault,
}
Variants§
Force(YaccKind)
The user can specify %grmtools
in their grammar but unless it is compatible with this YaccKind
, it’s an error
Default(YaccKind)
Use YaccKind
if the user doesn’t specify %grmtools
in their grammar
NoDefault
The user must specify %grmtools
in their grammars or we throw an error
Trait Implementations§
Source§impl Clone for YaccKindResolver
impl Clone for YaccKindResolver
Source§fn clone(&self) -> YaccKindResolver
fn clone(&self) -> YaccKindResolver
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 YaccKindResolver
impl Debug for YaccKindResolver
impl Copy for YaccKindResolver
Auto Trait Implementations§
impl Freeze for YaccKindResolver
impl RefUnwindSafe for YaccKindResolver
impl Send for YaccKindResolver
impl Sync for YaccKindResolver
impl Unpin for YaccKindResolver
impl UnwindSafe for YaccKindResolver
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