pub enum Pattern {
Pulse,
Chase,
Sparkle,
KnightRider,
}Expand description
Pattern type to be passed to execute_pattern.
Variants§
Pulse
All LEDs gently pulse.
Chase
Endless scrolling of bands of color (for all solid colors), and endless scrolling of a rainbow for Color::Rainbow.
Sparkle
Random LEDs across the strip will suddenly brighten and fade slowly to off.
KnightRider
Inspired by the iconic lighting in the car K.I.T.T. from the 80s TV show Knight Rider.
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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