Struct languageserver_types::DiagnosticRelatedInformation [−][src]
Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in a scope.
Fields
location: Location
The location of this related diagnostic information.
message: String
The message of this related diagnostic information.
Trait Implementations
impl Debug for DiagnosticRelatedInformation
[src]
impl Debug for DiagnosticRelatedInformation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for DiagnosticRelatedInformation
[src]
impl Eq for DiagnosticRelatedInformation
impl PartialEq for DiagnosticRelatedInformation
[src]
impl PartialEq for DiagnosticRelatedInformation
fn eq(&self, other: &DiagnosticRelatedInformation) -> bool
[src]
fn eq(&self, other: &DiagnosticRelatedInformation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DiagnosticRelatedInformation) -> bool
[src]
fn ne(&self, other: &DiagnosticRelatedInformation) -> bool
This method tests for !=
.
impl Clone for DiagnosticRelatedInformation
[src]
impl Clone for DiagnosticRelatedInformation
fn clone(&self) -> DiagnosticRelatedInformation
[src]
fn clone(&self) -> DiagnosticRelatedInformation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DiagnosticRelatedInformation
impl Send for DiagnosticRelatedInformation
impl Sync for DiagnosticRelatedInformation
impl Sync for DiagnosticRelatedInformation