[−][src]Trait fungus::prelude::Colorable
Colorable
defines a set of simple color functions for a given type
Required methods
pub fn set_fg_style(self, color: Color) -> ColorString
[src]
Provided methods
pub fn black(self) -> ColorString
[src]
pub fn red(self) -> ColorString
[src]
pub fn green(self) -> ColorString
[src]
pub fn yellow(self) -> ColorString
[src]
pub fn blue(self) -> ColorString
[src]
pub fn magenta(self) -> ColorString
[src]
pub fn cyan(self) -> ColorString
[src]
pub fn white(self) -> ColorString
[src]
Implementations on Foreign Types
impl<'a> Colorable for &'a str
[src]
pub fn set_fg_style(self, color: Color) -> ColorString where
&'a str: Sized,
[src]
&'a str: Sized,
Implementors
impl Colorable for ColorString
[src]
pub fn set_fg_style(self, color: Color) -> ColorString where
ColorString: Sized,
[src]
ColorString: Sized,