pub enum LedState {
On,
Off,
}
Variants
On
Turn the LED on
Off
Turn the LED off
Auto Trait Implementations
impl RefUnwindSafe for LedState
impl Send for LedState
impl Sync for LedState
impl Unpin for LedState
impl UnwindSafe for LedState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more