pub enum LedPattern {
Static,
Breathing,
Rainbow,
RainbowWave,
}Expand description
LED pattern types for visual effects
Variants§
Static
Static solid colors (no animation)
Breathing
Breathing pattern - fades colors in/out
Rainbow
Rainbow pattern - cycles through colors
RainbowWave
Rainbow wave - wave effect across zones
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<'de> Deserialize<'de> for LedPattern
impl<'de> Deserialize<'de> for LedPattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for LedPattern
impl Hash for LedPattern
Source§impl PartialEq for LedPattern
impl PartialEq for LedPattern
Source§impl Serialize for LedPattern
impl Serialize 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 UnsafeUnpin 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