Struct rush_analyzer::Diagnostic
source · pub struct Diagnostic<'src> {
pub level: DiagnosticLevel,
pub message: Cow<'static, str>,
pub notes: Vec<Cow<'static, str>>,
pub span: Span<'src>,
pub source: &'src str,
}Fields§
§level: DiagnosticLevel§message: Cow<'static, str>§notes: Vec<Cow<'static, str>>§span: Span<'src>§source: &'src strImplementations§
Trait Implementations§
source§impl<'src> Clone for Diagnostic<'src>
impl<'src> Clone for Diagnostic<'src>
source§fn clone(&self) -> Diagnostic<'src>
fn clone(&self) -> Diagnostic<'src>
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 more