pub enum ColorMode {
Always,
Auto,
Never,
}Expand description
When colorized output should be shown
Variants§
Always
Always use color, even when not writing to a terminal
Auto
Automatically detect when to use color (default)
Never
Never use color
Trait Implementations§
impl Copy for ColorMode
Auto Trait Implementations§
impl Freeze for ColorMode
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
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