Enum calcu::lexer::LexerErrorKind
source · pub enum LexerErrorKind {
UnknownToken,
UnknownIdent(String),
}
Expand description
The kind of a lexer error
Variants
UnknownToken
UnknownIdent(String)
Trait Implementations
sourceimpl Debug for LexerErrorKind
impl Debug for LexerErrorKind
sourceimpl PartialEq<LexerErrorKind> for LexerErrorKind
impl PartialEq<LexerErrorKind> for LexerErrorKind
sourcefn eq(&self, other: &LexerErrorKind) -> bool
fn eq(&self, other: &LexerErrorKind) -> bool
impl Eq for LexerErrorKind
impl StructuralEq for LexerErrorKind
impl StructuralPartialEq for LexerErrorKind
Auto Trait Implementations
impl RefUnwindSafe for LexerErrorKind
impl Send for LexerErrorKind
impl Sync for LexerErrorKind
impl Unpin for LexerErrorKind
impl UnwindSafe for LexerErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more