pub enum LexFailure {
EOF,
UnexpectedEOF,
Unexpected(char),
UnterminatedBlockComment,
UnterminatedCharacter,
UnterminatedString,
UnterminatedUnicodeEscape,
InvalidUnicodeEscape(u32),
InvalidDigitForBase(char, u32),
IntegerOverflow,
}Variants§
EOF
Reached end of file
UnexpectedEOF
Unexpected(char)
UnterminatedBlockComment
UnterminatedCharacter
UnterminatedString
UnterminatedUnicodeEscape
InvalidUnicodeEscape(u32)
InvalidDigitForBase(char, u32)
IntegerOverflow
Trait Implementations§
Source§impl Clone for LexFailure
impl Clone for LexFailure
Source§fn clone(&self) -> LexFailure
fn clone(&self) -> LexFailure
Returns a duplicate 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 LexFailure
impl Debug for LexFailure
Source§impl Display for LexFailure
impl Display for LexFailure
Source§impl PartialEq for LexFailure
impl PartialEq for LexFailure
impl Copy for LexFailure
impl Eq for LexFailure
impl StructuralPartialEq for LexFailure
Auto Trait Implementations§
impl Freeze for LexFailure
impl RefUnwindSafe for LexFailure
impl Send for LexFailure
impl Sync for LexFailure
impl Unpin for LexFailure
impl UnwindSafe for LexFailure
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