pub struct DiagnosticFrame {
pub code: u32,
pub severity: Severity,
pub title: String,
pub subtitles: Vec<Subtitle>,
pub hints: Vec<String>,
pub positions: Vec<Marker>,
}Fields§
§code: u32§severity: Severity§title: String§subtitles: Vec<Subtitle>§hints: Vec<String>§positions: Vec<Marker>Implementations§
Trait Implementations§
Source§impl Clone for DiagnosticFrame
impl Clone for DiagnosticFrame
Source§fn clone(&self) -> DiagnosticFrame
fn clone(&self) -> DiagnosticFrame
Returns a duplicate 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 DiagnosticFrame
impl Debug for DiagnosticFrame
Source§impl Renderable<Classic> for DiagnosticFrame
impl Renderable<Classic> for DiagnosticFrame
Source§impl Renderable<Compact> for DiagnosticFrame
impl Renderable<Compact> for DiagnosticFrame
Auto Trait Implementations§
impl Freeze for DiagnosticFrame
impl RefUnwindSafe for DiagnosticFrame
impl Send for DiagnosticFrame
impl Sync for DiagnosticFrame
impl Unpin for DiagnosticFrame
impl UnwindSafe for DiagnosticFrame
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more