Function better_term::rainbowify
source · [−]Expand description
This function takes a string and makes all the characters rainbow
Example:
use better_term::rainbowify;
// this will print "Hello, World!" in rainbow colors in most terminals
println!("{}", rainbowify("Hello, World!"));