Struct languageserver_types::DiagnosticRelatedInformation
[−]
[src]
pub struct DiagnosticRelatedInformation { pub location: Location, pub message: String, }
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for DiagnosticRelatedInformation
[src]
impl PartialEq for DiagnosticRelatedInformation
[src]
fn eq(&self, __arg_0: &DiagnosticRelatedInformation) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DiagnosticRelatedInformation) -> bool
[src]
This method tests for !=
.
impl Clone for DiagnosticRelatedInformation
[src]
fn clone(&self) -> DiagnosticRelatedInformation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more