pub struct LexError {
pub position: Position,
pub kind: LexErrorKind,
/* private fields */
}Expand description
Lexer error.
Fields§
§position: PositionPosition of error.
kind: LexErrorKindKind of error.
Implementations§
Trait Implementations§
Source§impl From<LexError> for DeserError
impl From<LexError> for DeserError
Source§impl Ord for LexError
impl Ord for LexError
Source§impl PartialOrd for LexError
impl PartialOrd for LexError
impl Copy for LexError
impl Eq for LexError
impl StructuralPartialEq for LexError
Auto Trait Implementations§
impl Freeze for LexError
impl RefUnwindSafe for LexError
impl Send for LexError
impl Sync for LexError
impl Unpin 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