Trait polychrome::ColorPrintExt

source ·
pub trait ColorPrintExt {
    // Required methods
    fn color<'a>(&'a self, r: u8, g: u8, b: u8) -> ColorPrint<'a>;
    fn underline<'a>(&'a self, style: Option<&str>) -> ColorPrint<'a>;
}

Required Methods§

source

fn color<'a>(&'a self, r: u8, g: u8, b: u8) -> ColorPrint<'a>

source

fn underline<'a>(&'a self, style: Option<&str>) -> ColorPrint<'a>

Implementations on Foreign Types§

source§

impl<'a> ColorPrintExt for &'a str

source§

fn color<'b>(&'b self, r: u8, g: u8, b: u8) -> ColorPrint<'b>

source§

fn underline<'b>(&'b self, style: Option<&str>) -> ColorPrint<'b>

Implementors§