pub struct LexDiagnostic {
pub message: &'static str,
pub range: TextRange,
}Fields§
§message: &'static str§range: TextRangeImplementations§
Trait Implementations§
Source§impl Clone for LexDiagnostic
impl Clone for LexDiagnostic
Source§fn clone(&self) -> LexDiagnostic
fn clone(&self) -> LexDiagnostic
Returns a duplicate 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 LexDiagnostic
impl Debug for LexDiagnostic
Source§impl PartialEq for LexDiagnostic
impl PartialEq for LexDiagnostic
impl Eq for LexDiagnostic
impl StructuralPartialEq for LexDiagnostic
Auto Trait Implementations§
impl Freeze for LexDiagnostic
impl RefUnwindSafe for LexDiagnostic
impl Send for LexDiagnostic
impl Sync for LexDiagnostic
impl Unpin for LexDiagnostic
impl UnsafeUnpin for LexDiagnostic
impl UnwindSafe for LexDiagnostic
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