pub fn to_ansi_bytes(&self, stylesheet: &Stylesheet) -> io::Result<Vec<u8>> {
        let mut buf = termcolor::Buffer::ansi();
        self.show(&mut buf, stylesheet)?;
        Ok(buf.into_inner())
    }
/// "Print" message to `Vec<u8>`, colorizing it using ANSI escape codes
"Print" message to `Vec`, colorizing it using ANSI escape codes
" Print " message to ` Vec ` colorizing it using ANSI escape codes
pub fn to_ansi_bytes(&self, stylesheet: &Stylesheet) -> io::Result<Vec<u8>> {
        let mut buf = termcolor::Buffer::ansi();
        self.show(&mut buf, stylesheet)?;
        Ok(buf.into_inner())
    }
pub fn to_ansi_bytes ( & self , stylesheet : & Stylesheet ) -> io :: Result < Vec < u8 > > { let mut buf = termcolor :: Buffer :: ansi ( ) ; self . show ( & mut buf , stylesheet ) ? ; Ok ( buf . into_inner ( ) ) }
"Print" message to `Vec<u8>`, colorizing it using ANSI escape codes
" Print " message to ` Vec<u8 > ` colorizing it using ANSI escape codes
&self
stylesheet
&Stylesheet
&self
stylesheet
&Stylesheet