pub enum MonoLedState {
Off,
On,
}
Expand description
LED state of mono button.
Variants§
Trait Implementations§
source§impl Clone for MonoLedState
impl Clone for MonoLedState
source§fn clone(&self) -> MonoLedState
fn clone(&self) -> MonoLedState
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 MonoLedState
impl Debug for MonoLedState
source§impl Default for MonoLedState
impl Default for MonoLedState
source§impl PartialEq for MonoLedState
impl PartialEq for MonoLedState
source§fn eq(&self, other: &MonoLedState) -> bool
fn eq(&self, other: &MonoLedState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MonoLedState
impl Eq for MonoLedState
impl StructuralEq for MonoLedState
impl StructuralPartialEq for MonoLedState
Auto Trait Implementations§
impl RefUnwindSafe for MonoLedState
impl Send for MonoLedState
impl Sync for MonoLedState
impl Unpin for MonoLedState
impl UnwindSafe for MonoLedState
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