Struct planus_lexer::LexicalError
source · pub struct LexicalError {
pub err: String,
pub span: Span,
}Fields§
§err: String§span: SpanImplementations§
Trait Implementations§
source§impl Clone for LexicalError
impl Clone for LexicalError
source§fn clone(&self) -> LexicalError
fn clone(&self) -> LexicalError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LexicalError
impl Debug for LexicalError
source§impl Display for LexicalError
impl Display for LexicalError
source§impl PartialEq<LexicalError> for LexicalError
impl PartialEq<LexicalError> for LexicalError
source§fn eq(&self, other: &LexicalError) -> bool
fn eq(&self, other: &LexicalError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LexicalError
impl StructuralEq for LexicalError
impl StructuralPartialEq for LexicalError
Auto Trait Implementations§
impl RefUnwindSafe for LexicalError
impl Send for LexicalError
impl Sync for LexicalError
impl Unpin for LexicalError
impl UnwindSafe for LexicalError
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