pub struct Color {
pub out: bool,
pub err: bool,
}Expand description
Whether each output stream may carry ANSI colour. Off unless the caller turns it on
(the binary does so for a terminal, honouring NO_COLOR).
Fields§
§out: boolColour the result on stdout.
err: boolColour error, hint and note lines on stderr.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Color
impl Freeze for Color
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnsafeUnpin for Color
impl UnwindSafe for Color
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