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
sourceimpl Clone for ColorSetting
impl Clone for ColorSetting
sourcefn clone(&self) -> ColorSetting
fn clone(&self) -> ColorSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ColorSetting
impl Debug for ColorSetting
sourceimpl Default for ColorSetting
impl Default for ColorSetting
sourceimpl FromStr for ColorSetting
impl FromStr for ColorSetting
sourceimpl PartialEq<ColorSetting> for ColorSetting
impl PartialEq<ColorSetting> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.