pub enum LexErrorKind<'source> {
UnterminatedBlockComment,
UnterminatedString,
ReservedName(&'source str),
UnexpectedCharacter(char),
ControlCharInString,
InvalidStringFormat,
}Variants§
UnterminatedBlockComment
UnterminatedString
ReservedName(&'source str)
UnexpectedCharacter(char)
ControlCharInString
InvalidStringFormat
Trait Implementations§
Source§impl<'source> Clone for LexErrorKind<'source>
impl<'source> Clone for LexErrorKind<'source>
Source§fn clone(&self) -> LexErrorKind<'source>
fn clone(&self) -> LexErrorKind<'source>
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 moreAuto Trait Implementations§
impl<'source> Freeze for LexErrorKind<'source>
impl<'source> RefUnwindSafe for LexErrorKind<'source>
impl<'source> Send for LexErrorKind<'source>
impl<'source> Sync for LexErrorKind<'source>
impl<'source> Unpin for LexErrorKind<'source>
impl<'source> UnsafeUnpin for LexErrorKind<'source>
impl<'source> UnwindSafe for LexErrorKind<'source>
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