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