Trait rust_colors::Color
source · pub trait Color<T: Debug> {
type Transform;
// Required methods
fn color(&self, txt: T, color: Colors) -> Self::Transform;
fn bold_color(&self, txt: T, bold_color: Colors) -> Self::Transform;
fn underline_color(
&self,
txt: T,
underline_color: Colors,
) -> Self::Transform;
}