pub enum CategoryColor {
Show 14 variants
Transparent,
LightBlue,
Red,
LightRed,
Orange,
Blue,
Green,
Purple,
Yellow,
Brown,
Magenta,
LightGreen,
Gray,
DarkGray,
}
Expand description
One of the available colors for a category.
Variants§
Transparent
LightBlue
Red
LightRed
Orange
Blue
Green
Purple
Yellow
Brown
Magenta
LightGreen
Gray
DarkGray
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 moresource§impl Serialize for CategoryColor
impl Serialize for CategoryColor
impl Copy for CategoryColor
impl Eq for CategoryColor
impl StructuralEq for CategoryColor
impl StructuralPartialEq for CategoryColor
Auto Trait Implementations§
impl RefUnwindSafe for CategoryColor
impl Send for CategoryColor
impl Sync for CategoryColor
impl Unpin for CategoryColor
impl UnwindSafe for CategoryColor
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