[][src]Struct owo_colors::TtyDisplay

pub struct TtyDisplay<'a, Tty, InVal, Out, ApplyFn>(_, _, _)
where
    Tty: IsTty,
    InVal: ?Sized,
    ApplyFn: Fn(&'a InVal) -> Out
;

A display which applies a transformation based on if the given stream is a tty

Trait Implementations

impl<'a, Tty: IsTty, In: Binary, Out: Binary, F: Fn(&'a In) -> Out> Binary for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: Debug, Out: Debug, F: Fn(&'a In) -> Out> Debug for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: Display, Out: Display, F: Fn(&'a In) -> Out> Display for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: LowerExp, Out: LowerExp, F: Fn(&'a In) -> Out> LowerExp for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: LowerHex, Out: LowerHex, F: Fn(&'a In) -> Out> LowerHex for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: Octal, Out: Octal, F: Fn(&'a In) -> Out> Octal for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: Pointer, Out: Pointer, F: Fn(&'a In) -> Out> Pointer for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: UpperExp, Out: UpperExp, F: Fn(&'a In) -> Out> UpperExp for TtyDisplay<'a, Tty, In, Out, F>[src]

impl<'a, Tty: IsTty, In: UpperHex, Out: UpperHex, F: Fn(&'a In) -> Out> UpperHex for TtyDisplay<'a, Tty, In, Out, F>[src]

Auto Trait Implementations

impl<'a, Tty, InVal: ?Sized, Out, ApplyFn> Send for TtyDisplay<'a, Tty, InVal, Out, ApplyFn> where
    ApplyFn: Send,
    InVal: Sync,
    Tty: Send
[src]

impl<'a, Tty, InVal: ?Sized, Out, ApplyFn> Sync for TtyDisplay<'a, Tty, InVal, Out, ApplyFn> where
    ApplyFn: Sync,
    InVal: Sync,
    Tty: Sync
[src]

impl<'a, Tty, InVal: ?Sized, Out, ApplyFn> Unpin for TtyDisplay<'a, Tty, InVal, Out, ApplyFn> where
    ApplyFn: Unpin,
    Tty: 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.