Struct texlang::token::lexer::InvalidCharacterError
source · pub struct InvalidCharacterError {
pub char: char,
pub trace: SourceCodeTrace,
}
Expand description
Error possibly returned when the input contains an invalid character
Fields§
§char: char
The character. Its catcode is CatCode::Invalid
.
trace: SourceCodeTrace
Trace of the character.
Implementations§
Trait Implementations§
source§impl Debug for InvalidCharacterError
impl Debug for InvalidCharacterError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidCharacterError
impl Send for InvalidCharacterError
impl Sync for InvalidCharacterError
impl Unpin for InvalidCharacterError
impl UnwindSafe for InvalidCharacterError
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