Trait anstyle_wincon::WinconStream
source · pub trait WinconStream {
// Required methods
fn set_colors(
&mut self,
fg: Option<AnsiColor>,
bg: Option<AnsiColor>
) -> Result<()>;
fn get_colors(&self) -> Result<(Option<AnsiColor>, Option<AnsiColor>)>;
}
Expand description
Extend std::io::Write
with wincon styling
Generally, you will want to use Console
instead