#[repr(u8)]pub enum LedPattern {
Off = 0,
On = 1,
Pattern1 = 2,
Pattern2 = 3,
Pattern3 = 4,
Pattern4 = 5,
Pattern5 = 6,
Pattern6 = 7,
Keep = 15,
}Variants§
Off = 0
On = 1
Pattern1 = 2
Pattern2 = 3
Pattern3 = 4
Pattern4 = 5
Pattern5 = 6
Pattern6 = 7
Keep = 15
Implementations§
Trait Implementations§
Source§impl Clone for LedPattern
impl Clone for LedPattern
Source§fn clone(&self) -> LedPattern
fn clone(&self) -> LedPattern
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 LedPattern
impl Debug for LedPattern
Source§impl PartialEq for LedPattern
impl PartialEq for LedPattern
impl Copy for LedPattern
impl Eq for LedPattern
impl StructuralPartialEq for LedPattern
Auto Trait Implementations§
impl Freeze for LedPattern
impl RefUnwindSafe for LedPattern
impl Send for LedPattern
impl Sync for LedPattern
impl Unpin for LedPattern
impl UnwindSafe for LedPattern
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