pub struct LspDiagnostic {
pub severity: u8,
pub flags: u8,
pub line: u32,
pub col: u32,
pub end_line: u32,
pub end_col: u32,
pub code: String,
pub source: String,
pub msg: String,
}Expand description
One diagnostic, owned, from a DIAG record.
Fields§
§severity: u8§flags: u8§line: u32§col: u32§end_line: u32§end_col: u32§code: String§source: String§msg: StringTrait Implementations§
Source§impl Clone for LspDiagnostic
impl Clone for LspDiagnostic
Source§fn clone(&self) -> LspDiagnostic
fn clone(&self) -> LspDiagnostic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LspDiagnostic
impl Debug for LspDiagnostic
impl Eq for LspDiagnostic
Source§impl PartialEq for LspDiagnostic
impl PartialEq for LspDiagnostic
impl StructuralPartialEq for LspDiagnostic
Auto Trait Implementations§
impl Freeze for LspDiagnostic
impl RefUnwindSafe for LspDiagnostic
impl Send for LspDiagnostic
impl Sync for LspDiagnostic
impl Unpin for LspDiagnostic
impl UnsafeUnpin for LspDiagnostic
impl UnwindSafe for LspDiagnostic
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