1use ansi_colors::*; 2fn main(){ 3 let mut str1 = ColouredStr::new("hello ansi"); 4 str1.blue() 5 .bold().underline(); 6 println!("{}",&str1.coloured_string[1..]); 7}