pub enum CategoryColor {
Show 13 variants
Transparent,
Purple,
Green,
Orange,
Yellow,
LightBlue,
Grey,
Blue,
Brown,
LightGreen,
Red,
LightRed,
DarkGray,
}
Expand description
One of the available colors for a category.
Variants§
Trait Implementations§
source§impl Clone for CategoryColor
impl Clone for CategoryColor
source§fn clone(&self) -> CategoryColor
fn clone(&self) -> CategoryColor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CategoryColor
impl Debug for CategoryColor
source§impl Ord for CategoryColor
impl Ord for CategoryColor
source§fn cmp(&self, other: &CategoryColor) -> Ordering
fn cmp(&self, other: &CategoryColor) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CategoryColor> for CategoryColor
impl PartialEq<CategoryColor> for CategoryColor
source§fn eq(&self, other: &CategoryColor) -> bool
fn eq(&self, other: &CategoryColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CategoryColor> for CategoryColor
impl PartialOrd<CategoryColor> for CategoryColor
source§fn partial_cmp(&self, other: &CategoryColor) -> Option<Ordering>
fn partial_cmp(&self, other: &CategoryColor) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more