pub trait WinconStream {
// Required method
fn write_colored(
&mut self,
fg: Option<AnsiColor>,
bg: Option<AnsiColor>,
data: &[u8],
) -> Result<usize>;
}
Expand description
Extend std::io::Write
with wincon styling
Required Methods§
Implementations on Foreign Types§
source§impl WinconStream for Vec<u8>
impl WinconStream for Vec<u8>
source§impl WinconStream for File
impl WinconStream for File
source§impl WinconStream for Stderr
impl WinconStream for Stderr
source§impl WinconStream for StderrLock<'_>
Available on Windows only.
impl WinconStream for StderrLock<'_>
Available on Windows only.
source§impl WinconStream for Stdout
impl WinconStream for Stdout
source§impl WinconStream for StdoutLock<'_>
Available on Windows only.
impl WinconStream for StdoutLock<'_>
Available on Windows only.