Struct boa::syntax::lexer::LexerError
source · pub struct LexerError { /* private fields */ }
Expand description
An error that occurred during lexing or compiling of the source input.
Trait Implementations
sourceimpl Clone for LexerError
impl Clone for LexerError
sourcefn clone(&self) -> LexerError
fn clone(&self) -> LexerError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LexerError
impl Debug for LexerError
sourceimpl Display for LexerError
impl Display for LexerError
sourceimpl Error for LexerError
impl Error for LexerError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl RefUnwindSafe for LexerError
impl Send for LexerError
impl Sync for LexerError
impl Unpin for LexerError
impl UnwindSafe for LexerError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more