pub struct DiagnosticBuilder {
pub level: Level,
pub message: EcoString,
pub attachments: Vec<(Span<Root>, EcoString)>,
pub notes: Vec<EcoString>,
}Fields§
§level: Level§message: EcoString§attachments: Vec<(Span<Root>, EcoString)>§notes: Vec<EcoString>Implementations§
Auto Trait Implementations§
impl Freeze for DiagnosticBuilder
impl !RefUnwindSafe for DiagnosticBuilder
impl !Send for DiagnosticBuilder
impl !Sync for DiagnosticBuilder
impl Unpin for DiagnosticBuilder
impl !UnwindSafe for DiagnosticBuilder
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