pub enum ColorChoice {
Auto,
Always,
Never,
}
Expand description
Indicates whether the output should be colorized or not.
Variants§
Auto
Enables colored output only when the output is going to a terminal or TTY.
Always
Enables colored output regardless of whether or not the output is going to a terminal/TTY.
Never
Disables colored output no matter if the output is going to a terminal/TTY, or not.
Trait Implementations§
Source§impl Debug for ColorChoice
impl Debug for ColorChoice
Source§impl PartialEq for ColorChoice
impl PartialEq for ColorChoice
impl StructuralPartialEq for ColorChoice
Auto Trait Implementations§
impl Freeze for ColorChoice
impl RefUnwindSafe for ColorChoice
impl Send for ColorChoice
impl Sync for ColorChoice
impl Unpin for ColorChoice
impl UnwindSafe for ColorChoice
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