pub enum BaseColor {
Black,
Red,
Green,
Yellow,
Blue,
Magenta,
Cyan,
White,
}Expand description
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
Implementations§
Trait Implementations§
Source§impl From<BaseColor> for ColorStyle
impl From<BaseColor> for ColorStyle
Source§fn from(color: BaseColor) -> ColorStyle
fn from(color: BaseColor) -> ColorStyle
Converts to this type from the input type.
Source§impl Resolvable for BaseColor
impl Resolvable for BaseColor
impl Copy for BaseColor
impl Eq for BaseColor
impl StructuralPartialEq for BaseColor
Auto Trait Implementations§
impl Freeze for BaseColor
impl RefUnwindSafe for BaseColor
impl Send for BaseColor
impl Sync for BaseColor
impl Unpin for BaseColor
impl UnwindSafe for BaseColor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.