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 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 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
Source§impl Hash for VariantColor
impl Hash for VariantColor
Source§impl PartialEq for VariantColor
impl PartialEq for VariantColor
Source§impl Serialize for VariantColor
impl Serialize for VariantColor
Source§impl TryFrom<(&Species, &VariantSource)> for VariantColor
impl TryFrom<(&Species, &VariantSource)> for VariantColor
impl Eq for VariantColor
impl StructuralPartialEq 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 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