[][src]Struct owo_colors::BgColorDisplay

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

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

Trait Implementations

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'a, C, T> Send for BgColorDisplay<'a, C, T> where
    C: Send,
    T: Sync
[src]

impl<'a, C, T> Sync for BgColorDisplay<'a, C, T> where
    C: Sync,
    T: Sync
[src]

impl<'a, C, T> Unpin for BgColorDisplay<'a, C, T> where
    C: Unpin
[src]

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.