[][src]Struct owo_colors::FgColorDisplay

#[repr(transparent)]pub struct FgColorDisplay<'a, C: Color, T>(_, _);

Transparent wrapper around a type which implements all the formatters the wrapped type does, with the addition of changing the foreground color. Recommended to be constructed using OwoColorize.

Trait Implementations

impl<'a, Color: Color, T: Binary> Binary for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: Debug> Debug for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: Display> Display for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: LowerExp> LowerExp for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: LowerHex> LowerHex for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: Octal> Octal for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: Pointer> Pointer for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: UpperExp> UpperExp for FgColorDisplay<'a, Color, T>[src]

impl<'a, Color: Color, T: UpperHex> UpperHex for FgColorDisplay<'a, Color, T>[src]

Auto Trait Implementations

impl<'a, C, T> Send for FgColorDisplay<'a, C, T> where
    C: Send,
    T: Sync

impl<'a, C, T> Sync for FgColorDisplay<'a, C, T> where
    C: Sync,
    T: Sync

impl<'a, C, T> Unpin for FgColorDisplay<'a, C, T> where
    C: Unpin

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