Struct colorstring::Colorize [] [src]

pub struct Colorize { /* fields omitted */ }

colorizes the strings, giving you the ability to customize some of the colorization process.

Methods

impl Colorize
[src]

returns an instance of Colorize, with default color mappings.

colorizes a string v according to the settings setup in the struct.

returns the first color sequence that exists in this string.