Skip to main content

Colored

Trait Colored 

Source
pub trait Colored {
    // Provided method
    fn coloring(&self) -> Coloring { ... }
}
Expand description

Indication whether a Writer using CLI options supports colored output.

Provided Methods§

Source

fn coloring(&self) -> Coloring

Returns Coloring indicating whether a Writer using CLI options supports colored output or not.

Implementors§

Source§

impl Colored for Cli

Source§

impl Colored for Empty

Source§

impl<L, R> Colored for Compose<L, R>
where L: Args + Colored, R: Args + Colored,