pub struct DiagnosticLabel {
pub range: TextRange,
pub message: String,
}Fields§
§range: TextRange§message: StringImplementations§
Trait Implementations§
Source§impl Clone for DiagnosticLabel
impl Clone for DiagnosticLabel
Source§fn clone(&self) -> DiagnosticLabel
fn clone(&self) -> DiagnosticLabel
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 DiagnosticLabel
impl Debug for DiagnosticLabel
Source§impl PartialEq for DiagnosticLabel
impl PartialEq for DiagnosticLabel
Source§fn eq(&self, other: &DiagnosticLabel) -> bool
fn eq(&self, other: &DiagnosticLabel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DiagnosticLabel
impl StructuralPartialEq for DiagnosticLabel
Auto Trait Implementations§
impl Freeze for DiagnosticLabel
impl RefUnwindSafe for DiagnosticLabel
impl Send for DiagnosticLabel
impl Sync for DiagnosticLabel
impl Unpin for DiagnosticLabel
impl UnsafeUnpin for DiagnosticLabel
impl UnwindSafe for DiagnosticLabel
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