Enum owo_colors::DynColors[][src]

pub enum DynColors {
    Ansi(AnsiColors),
    Xterm(XtermColors),
    Rgb(u8u8u8),
}

An enum describing runtime-configurable colors which can be displayed using FgDynColorDisplay or BgDynColorDisplay, allowing for multiple types of colors to be used at runtime.

Variants

Rgb(u8u8u8)

Trait Implementations

impl Clone for DynColors[src]

impl Copy for DynColors[src]

impl Debug for DynColors[src]

impl DynColor for DynColors[src]

impl FromStr for DynColors[src]

type Err = ParseColorError

The associated error which can be returned from parsing.

impl PartialEq<DynColors> for DynColors[src]

impl StructuralPartialEq for DynColors[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<D> OwoColorize for D[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.