Enum libtest_mimic::ColorSetting
source · pub enum ColorSetting {
Auto,
Always,
Never,
}
Expand description
Possible values for the --color
option.
Variants§
Auto
Colorize output if stdout is a tty and tests are run on serially (default).
Always
Always colorize output.
Never
Never colorize output.
Trait Implementations§
source§impl Clone for ColorSetting
impl Clone for ColorSetting
source§fn clone(&self) -> ColorSetting
fn clone(&self) -> ColorSetting
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ColorSetting
impl Debug for ColorSetting
source§impl Default for ColorSetting
impl Default for ColorSetting
source§impl PartialEq<ColorSetting> for ColorSetting
impl PartialEq<ColorSetting> for ColorSetting
source§fn eq(&self, other: &ColorSetting) -> bool
fn eq(&self, other: &ColorSetting) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ValueEnum for ColorSetting
impl ValueEnum for ColorSetting
impl Copy for ColorSetting
impl Eq for ColorSetting
impl StructuralEq for ColorSetting
impl StructuralPartialEq for ColorSetting
Auto Trait Implementations§
impl RefUnwindSafe for ColorSetting
impl Send for ColorSetting
impl Sync for ColorSetting
impl Unpin for ColorSetting
impl UnwindSafe for ColorSetting
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