pub enum Led {
Red,
Green,
Blue,
Yellow,
Orange,
Pink,
Cyan,
White,
Blank,
}
Expand description
Represents the color of the Led.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Led
impl<'de> Deserialize<'de> for Led
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
impl StructuralPartialEq for Led
Auto Trait Implementations§
impl Freeze for Led
impl RefUnwindSafe for Led
impl Send for Led
impl Sync for Led
impl Unpin for Led
impl UnwindSafe for Led
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