Type Definition nu_ansi_term::AnsiByteString[][src]

type AnsiByteString<'a> = AnsiGenericString<'a, [u8]>;
Expand description

An AnsiByteString represents a formatted series of bytes. Use AnsiByteString when styling text with an unknown encoding.

Implementations

impl<'a> AnsiByteString<'a>[src]

pub fn write_to<W: Write>(&self, w: &mut W) -> Result<()>[src]

Write an ANSIByteString to an io::Write. This writes the escape sequences for the associated Style around the bytes.