pub struct TermDecoratorBuilder { /* private fields */ }
Expand description

TermDecorator builder

Implementations

Output to stderr

Output to stdout

Force colored output

Force plain output

Try to build TermDecorator

Unlike build this will not fall-back to raw stdout/stderr if it wasn’t able to use terminal and its features directly (eg. if TERM env. was not set).

Build TermDecorator

Unlike try_build this it will fall-back to using plain stdout/stderr if it wasn’t able to use terminal directly.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.