pub struct LexError {
pub line: usize,
pub col: usize,
pub message: String,
}Expand description
Public API for LexError.
Fields§
§line: usizePublic API for line.
col: usizePublic API for col.
message: StringPublic API for message.
Trait Implementations§
Source§impl From<&LexError> for ParseError
impl From<&LexError> for ParseError
Auto Trait Implementations§
impl Freeze for LexError
impl RefUnwindSafe for LexError
impl Send for LexError
impl Sync for LexError
impl Unpin for LexError
impl UnsafeUnpin for LexError
impl UnwindSafe for LexError
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