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 ==
.