Struct term_painter::Painted [] [src]

pub struct Painted<T> { /* fields omitted */ }

Wraps an object of type T and a style. When attempting to print it, the given style is applied before printing and reset afterwards. All formatting traits (Display, Debug, ...) that are implemented for T are also implemented the wrapper type Painted<T>.

Trait Implementations

impl<T: Display> Display for Painted<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Debug> Debug for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: Octal> Octal for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: LowerHex> LowerHex for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: UpperHex> UpperHex for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: Pointer> Pointer for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: Binary> Binary for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: LowerExp> LowerExp for Painted<T>
[src]

Formats the value using the given formatter.

impl<T: UpperExp> UpperExp for Painted<T>
[src]

Formats the value using the given formatter.