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 DiagnosticRelatedInformationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for DiagnosticRelatedInformation[src]
impl Eq for DiagnosticRelatedInformationimpl PartialEq for DiagnosticRelatedInformation[src]
impl PartialEq for DiagnosticRelatedInformationfn eq(&self, other: &DiagnosticRelatedInformation) -> bool[src]
fn eq(&self, other: &DiagnosticRelatedInformation) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for DiagnosticRelatedInformation[src]
impl Clone for DiagnosticRelatedInformationfn clone(&self) -> DiagnosticRelatedInformation[src]
fn clone(&self) -> DiagnosticRelatedInformationReturns 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 DiagnosticRelatedInformationimpl Sync for DiagnosticRelatedInformation
impl Sync for DiagnosticRelatedInformation