Enum control_code::SGR::Color
[−]
[src]
pub enum Color {
Default,
Transparent,
Index(u8),
Cmy(u8, u8, u8),
Cmyk(u8, u8, u8, u8),
Rgb(u8, u8, u8),
}Variants
DefaultTransparentIndex(u8)Cmy(u8, u8, u8)Cmyk(u8, u8, u8, u8)Rgb(u8, u8, u8)Trait Implementations
impl Eq for Color[src]
impl PartialEq for Color[src]
fn eq(&self, __arg_0: &Color) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Color) -> bool
This method tests for !=.
impl Copy for Color[src]
impl Clone for Color[src]
fn clone(&self) -> Color
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more