pub enum KeyColor {
Red,
Blue,
Pink,
Green,
}Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyColor
impl<'de> Deserialize<'de> for KeyColor
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 Ord for KeyColor
impl Ord for KeyColor
Source§impl PartialOrd for KeyColor
impl PartialOrd for KeyColor
impl Copy for KeyColor
impl Eq for KeyColor
impl StructuralPartialEq for KeyColor
Auto Trait Implementations§
impl Freeze for KeyColor
impl RefUnwindSafe for KeyColor
impl Send for KeyColor
impl Sync for KeyColor
impl Unpin for KeyColor
impl UnwindSafe for KeyColor
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