Module erg_common::style
source · Modules
Structs
StyledStr
is for const color and attribute &str.
It is an immutable string.StyledString
is for coloring and attribute text.
String, Color(&str) and Attribute(&str)StyledStrings
is vector of StyledString
and almost the same as Vec<String>.
It is possible to change the color and attribute of each String.
That’s why, if you don’t change any color or attribute, you should use ‘StyledString’ not StyledStrings