Enum tui::style::Color
[−]
[src]
pub enum Color { Reset, Black, Red, Green, Yellow, Magenta, Cyan, Gray, DarkGray, LightRed, LightGreen, LightYellow, LightMagenta, LightCyan, White, Rgb(u8, u8, u8), }
Variants
Reset
Black
Red
Green
Yellow
Magenta
Cyan
Gray
DarkGray
LightRed
LightGreen
LightYellow
LightMagenta
LightCyan
White
Rgb(u8, u8, u8)
Methods
impl Color
[src]
pub fn termion_fg(&self) -> String
[src]
pub fn termion_bg(&self) -> String
[src]
Trait Implementations
impl Debug for Color
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Color
[src]
fn clone(&self) -> Color
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more