Struct cargo::util::diagnostic_server::DiagnosticPrinter
source · [−]pub struct DiagnosticPrinter<'a> { /* private fields */ }
Implementations
sourceimpl<'a> DiagnosticPrinter<'a>
impl<'a> DiagnosticPrinter<'a>
pub fn new(config: &'a Config) -> DiagnosticPrinter<'a>
pub fn print(&mut self, msg: &Message) -> CargoResult<()>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for DiagnosticPrinter<'a>
impl<'a> !Send for DiagnosticPrinter<'a>
impl<'a> !Sync for DiagnosticPrinter<'a>
impl<'a> Unpin for DiagnosticPrinter<'a>
impl<'a> !UnwindSafe for DiagnosticPrinter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more