cwrite!() { /* proc-macro */ }
Write to a buffer colorfully, with no newline.
See also write
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}!");