1 2 3 4 5 6 7 8 9 10
use console::style; fn main() { println!( "This is red on black: {:010x}", style(42).red().on_black().bold() ); println!("This is reversed: [{}]", style("whatever").reverse()); println!("This is cyan: {}", style("whatever").cyan()); }