pub enum SpkrLedState {
Off,
Green,
GreenBlink,
Red,
RedBlink,
Orange,
OrangeBlink,
}
Expand description
LED state of spkr button.
Variants§
Off
Turn off.
Green
Green light.
GreenBlink
Blinking green light.
Red
Red light.
RedBlink
Blinking red light.
Orange
Orange light.
OrangeBlink
Blinking orange light.
Trait Implementations§
Source§impl Clone for SpkrLedState
impl Clone for SpkrLedState
Source§fn clone(&self) -> SpkrLedState
fn clone(&self) -> SpkrLedState
Returns a duplicate 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 SpkrLedState
impl Debug for SpkrLedState
Source§impl Default for SpkrLedState
impl Default for SpkrLedState
Source§impl PartialEq for SpkrLedState
impl PartialEq for SpkrLedState
impl Copy for SpkrLedState
impl Eq for SpkrLedState
impl StructuralPartialEq for SpkrLedState
Auto Trait Implementations§
impl Freeze for SpkrLedState
impl RefUnwindSafe for SpkrLedState
impl Send for SpkrLedState
impl Sync for SpkrLedState
impl Unpin for SpkrLedState
impl UnwindSafe for SpkrLedState
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