cwrite

Macro cwrite 

Source
cwrite!() { /* proc-macro */ }
Expand description

Write to a buffer colorfully, with no newline.

See also write

use std::io::Write;
let mut buf = vec![];
cwrite!(buf, "{green}omg there's going to be ansi sequences in a {black}Vec<u8>{reset}!");