pub struct LexError<'a> {
pub kind: LexErrorKind,
pub literal: &'a str,
pub start: usize,
}Fields§
§kind: LexErrorKind§literal: &'a str§start: usizeTrait Implementations§
impl<'a> Copy for LexError<'a>
impl<'a> Eq for LexError<'a>
impl<'a> StructuralPartialEq for LexError<'a>
Auto Trait Implementations§
impl<'a> Freeze for LexError<'a>
impl<'a> RefUnwindSafe for LexError<'a>
impl<'a> Send for LexError<'a>
impl<'a> Sync for LexError<'a>
impl<'a> Unpin for LexError<'a>
impl<'a> UnsafeUnpin for LexError<'a>
impl<'a> UnwindSafe for LexError<'a>
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