Trait stijl::Stream [] [src]

pub trait Stream: Write {
    fn reset(&mut self) -> Result<()>;
    fn fg(&mut self, fg: Color) -> Result<()>;
    fn em(&mut self) -> Result<()>;
    fn is_cli(&self) -> bool;
}

An output stream with simple styling.

Required Methods

Return color and emphasis to the default.

Change the foreground color.

Begin emphasized text.

True if the stream is connected to a command-line interface.

Implementors