Enum ParserKind
pub enum ParserKind {
Lalr,
Earley,
}Expand description
The engine the grammar is configured for. hyperlark implements Lark’s lalr
and earley; Lark’s cyk parser is not supported.
Variants§
Trait Implementations§
§impl Clone for ParserKind
impl Clone for ParserKind
§fn clone(&self) -> ParserKind
fn clone(&self) -> ParserKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ParserKind
§impl Debug for ParserKind
impl Debug for ParserKind
impl Eq for ParserKind
§impl PartialEq for ParserKind
impl PartialEq for ParserKind
impl StructuralPartialEq for ParserKind
Auto Trait Implementations§
impl Freeze for ParserKind
impl RefUnwindSafe for ParserKind
impl Send for ParserKind
impl Sync for ParserKind
impl Unpin for ParserKind
impl UnsafeUnpin for ParserKind
impl UnwindSafe for ParserKind
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