pub enum VariantColor {
Show 26 variants
Amethyst,
Aquamarine,
Blue,
Cobalt,
Cyan,
Emerald,
Gold,
Green,
Grey,
Indigo,
Lime,
Magenta,
Maroon,
Mauve,
Mulberry,
Ocher,
Orange,
Peach,
Red,
Sage,
Teal,
Turquoise,
White,
Yellow,
None,
Unknown,
}Variants§
Amethyst
Aquamarine
Blue
Cobalt
Cyan
Emerald
Gold
Green
Grey
Indigo
Lime
Magenta
Maroon
Mauve
Mulberry
Ocher
Orange
Peach
Red
Sage
Teal
Turquoise
White
Yellow
None
For species or genus that do not have color variation.
Unknown
Available on crate feature
allow-unknown only.This should realistically never happen without changes in the logs.
Trait Implementations§
Source§impl Clone for VariantColor
impl Clone for VariantColor
Source§fn clone(&self) -> VariantColor
fn clone(&self) -> VariantColor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VariantColor
impl Debug for VariantColor
Source§impl<'de> Deserialize<'de> for VariantColor
impl<'de> Deserialize<'de> for VariantColor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VariantColor
impl Display for VariantColor
impl Eq for VariantColor
Source§impl Hash for VariantColor
impl Hash for VariantColor
Source§impl Ord for VariantColor
impl Ord for VariantColor
Source§fn cmp(&self, other: &VariantColor) -> Ordering
fn cmp(&self, other: &VariantColor) -> Ordering
1.21.0 (const: unstable) · 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 for VariantColor
impl PartialEq for VariantColor
Source§fn eq(&self, other: &VariantColor) -> bool
fn eq(&self, other: &VariantColor) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VariantColor
impl PartialOrd for VariantColor
Source§impl Serialize for VariantColor
impl Serialize for VariantColor
impl StructuralPartialEq for VariantColor
Source§impl TryFrom<(&Species, &VariantSource)> for VariantColor
impl TryFrom<(&Species, &VariantSource)> for VariantColor
Auto Trait Implementations§
impl Freeze for VariantColor
impl RefUnwindSafe for VariantColor
impl Send for VariantColor
impl Sync for VariantColor
impl Unpin for VariantColor
impl UnsafeUnpin for VariantColor
impl UnwindSafe for VariantColor
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