macro_rules! style {
    ($($arg:tt)*) => { ... };
}
Expand description

format! the given values and create a Style that can then be used to style the text.

Examples

    let s = style!("{}, {}!", "Hello", "world")
                .black()
                .underline()
                .to_string();
    assert_eq!(s, "\x1b[30;4mHello, world!\x1b[0m");