pub struct Emitter<'a> { /* private fields */ }Expand description
Bounded parser output sink. Contextual provenance is supplied by the engine.
Implementations§
Source§impl Emitter<'_>
impl Emitter<'_>
pub fn diagnostic(&mut self, diagnostic: Diagnostic)
pub fn test_failure(&mut self, failure: TestFailure)
Auto Trait Implementations§
impl<'a> !UnwindSafe for Emitter<'a>
impl<'a> Freeze for Emitter<'a>
impl<'a> RefUnwindSafe for Emitter<'a>
impl<'a> Send for Emitter<'a>
impl<'a> Sync for Emitter<'a>
impl<'a> Unpin for Emitter<'a>
impl<'a> UnsafeUnpin for Emitter<'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