Enum WriteStyle

pub enum WriteStyle

Whether or not to print styles to the target.

Variants

Auto

Try to print styles, but don't force the issue.

Always

Try very hard to print styles.

Never

Never print styles.

Trait Implementations

impl Clone for WriteStyle

fn clone(&self) -> Self

impl Copy for WriteStyle

impl Debug for WriteStyle

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

impl Default for WriteStyle

fn default() -> Self

impl Eq for WriteStyle

impl From<ColorChoice> for WriteStyle

fn from(choice: ColorChoice) -> Self

impl Hash for WriteStyle

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for WriteStyle

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for WriteStyle

Auto Trait Implementations

impl Freeze for WriteStyle

impl RefUnwindSafe for WriteStyle

impl Send for WriteStyle

impl Sync for WriteStyle

impl Unpin for WriteStyle

impl UnsafeUnpin for WriteStyle

impl UnwindSafe for WriteStyle

Blanket Implementations

impl<T> Any for WriteStyle where T: 'static + ?Sized,

impl<T> Borrow<T> for WriteStyle where T: ?Sized,

impl<T> BorrowMut<T> for WriteStyle where T: ?Sized,

impl<T> CloneToUninit for WriteStyle where T: Clone,

impl<T> From<T> for WriteStyle

impl<T> ToOwned for WriteStyle where T: Clone,

impl<T, U> Into<U> for WriteStyle where U: From<T>,

impl<T, U> TryFrom<U> for WriteStyle where U: Into<T>,

impl<T, U> TryInto<U> for WriteStyle where U: TryFrom<T>,