pub struct DiagnosticBuilder<'a> {
pub handler: &'a Handler,
pub message: String,
}
Expand description
Used to emit structured error messages.
Fields§
§handler: &'a Handler
§message: String
Trait Implementations§
Source§impl<'a> Clone for DiagnosticBuilder<'a>
impl<'a> Clone for DiagnosticBuilder<'a>
Source§fn clone(&self) -> DiagnosticBuilder<'a>
fn clone(&self) -> DiagnosticBuilder<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for DiagnosticBuilder<'a>
impl<'a> RefUnwindSafe for DiagnosticBuilder<'a>
impl<'a> Send for DiagnosticBuilder<'a>
impl<'a> Sync for DiagnosticBuilder<'a>
impl<'a> Unpin for DiagnosticBuilder<'a>
impl<'a> UnwindSafe for DiagnosticBuilder<'a>
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