Enum cursive::theme::BaseColor
[−]
[src]
pub enum BaseColor { Black, Red, Green, Yellow, Blue, Magenta, Cyan, White, }
One of the 8 base colors.
Variants
Black
Black color
Color #0
Red
Red color
Color #1
Green
Green color
Color #2
Yellow
Yellow color (Red + Green)
Color #3
Blue
Blue color
Color #4
Magenta
Magenta color (Red + Blue)
Color #5
Cyan
Cyan color (Green + Blue)
Color #6
White
White color (Red + Green + Blue)
Color #7
Trait Implementations
impl Clone for BaseColor
[src]
fn clone(&self) -> BaseColor
[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
impl Copy for BaseColor
[src]
impl Debug for BaseColor
[src]
impl PartialEq for BaseColor
[src]
fn eq(&self, __arg_0: &BaseColor) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for BaseColor
[src]
impl Hash for BaseColor
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more