Enum ColorConfig

enum ColorConfig

Whether should console output be colored or not

Variants

AutoColor
AlwaysColor
NeverColor

Implementations

impl Clone for ColorConfig

fn clone(self: &Self) -> ColorConfig

impl Copy for ColorConfig

impl Debug for ColorConfig

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for ColorConfig

fn default() -> ColorConfig

impl Freeze for ColorConfig

impl RefUnwindSafe for ColorConfig

impl Send for ColorConfig

impl Sync for ColorConfig

impl Unpin for ColorConfig

impl UnsafeUnpin for ColorConfig

impl UnwindSafe for ColorConfig

impl<T> Any for ColorConfig

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ColorConfig

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ColorConfig

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ColorConfig

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ColorConfig

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ColorConfig

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ColorConfig

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ColorConfig

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ColorConfig

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>