Struct aidl_parser::diagnostic::Diagnostic
source · pub struct Diagnostic {
pub kind: DiagnosticKind,
pub range: Range,
pub message: String,
pub context_message: Option<String>,
pub hint: Option<String>,
pub related_infos: Vec<RelatedInfo>,
}Fields§
§kind: DiagnosticKind§range: Range§message: String§context_message: Option<String>Additional information displayed near the symbol
hint: Option<String>Trait Implementations§
source§impl Clone for Diagnostic
impl Clone for Diagnostic
source§fn clone(&self) -> Diagnostic
fn clone(&self) -> Diagnostic
Returns a copy of the value. Read more
1.0.0 · 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 Diagnostic
impl Debug for Diagnostic
source§impl PartialEq<Diagnostic> for Diagnostic
impl PartialEq<Diagnostic> for Diagnostic
source§fn eq(&self, other: &Diagnostic) -> bool
fn eq(&self, other: &Diagnostic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.