pub struct DefaultEmitter { /* private fields */ }Expand description
DefaultEmitter is used for rendering to stderr, and as is implied by the name, is the default emitter implementation.
Implementations§
Source§impl DefaultEmitter
impl DefaultEmitter
Sourcepub fn new(color: ColorChoice) -> Self
pub fn new(color: ColorChoice) -> Self
Construct a new DefaultEmitter with the given ColorChoice behavior.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DefaultEmitter
impl RefUnwindSafe for DefaultEmitter
impl Send for DefaultEmitter
impl Sync for DefaultEmitter
impl Unpin for DefaultEmitter
impl UnwindSafe for DefaultEmitter
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