pub enum LedColor {
Off,
Green,
Red,
Yellow,
}Expand description
LED colors.
Variants§
Off
Turn off both the Red & Green LEDs.
Green
Turn on only the Green LED.
Red
Turn on only the Red LED.
Yellow
Turn on both the Red & Green LEDs.
Trait Implementations§
impl Copy for LedColor
impl StructuralPartialEq for LedColor
Auto Trait Implementations§
impl Freeze for LedColor
impl RefUnwindSafe for LedColor
impl Send for LedColor
impl Sync for LedColor
impl Unpin for LedColor
impl UnwindSafe for LedColor
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