Struct stdcli::term::console::StyledObject [] [src]

pub struct StyledObject<D> { /* fields omitted */ }

A formatting wrapper that can be styled for a terminal.

Methods

impl<D> StyledObject<D>
[src]

[src]

Forces styling on or off.

This overrides the detection from clicolors-control.

[src]

Sets a foreground color.

[src]

Sets a background color.

[src]

Adds a attr.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<D> UpperExp for StyledObject<D> where
    D: UpperExp
[src]

[src]

Formats the value using the given formatter.

impl<D> UpperHex for StyledObject<D> where
    D: UpperHex
[src]

[src]

Formats the value using the given formatter.

impl<D> Clone for StyledObject<D> where
    D: Clone
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<D> Octal for StyledObject<D> where
    D: Octal
[src]

[src]

Formats the value using the given formatter.

impl<D> Debug for StyledObject<D> where
    D: Debug
[src]

[src]

Formats the value using the given formatter.

impl<D> Pointer for StyledObject<D> where
    D: Pointer
[src]

[src]

Formats the value using the given formatter.

impl<D> Binary for StyledObject<D> where
    D: Binary
[src]

[src]

Formats the value using the given formatter.

impl<D> LowerHex for StyledObject<D> where
    D: LowerHex
[src]

[src]

Formats the value using the given formatter.

impl<D> Display for StyledObject<D> where
    D: Display
[src]

[src]

Formats the value using the given formatter. Read more

impl<D> LowerExp for StyledObject<D> where
    D: LowerExp
[src]

[src]

Formats the value using the given formatter.