pub enum LedAnimation {
Solid,
Blink,
Pulse,
Rotate,
ColorCycle,
}Variants§
Trait Implementations§
Source§impl Clone for LedAnimation
impl Clone for LedAnimation
Source§fn clone(&self) -> LedAnimation
fn clone(&self) -> LedAnimation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LedAnimation
Source§impl Debug for LedAnimation
impl Debug for LedAnimation
Source§impl Default for LedAnimation
impl Default for LedAnimation
Source§fn default() -> LedAnimation
fn default() -> LedAnimation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LedAnimation
impl<'de> Deserialize<'de> for LedAnimation
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
impl Eq for LedAnimation
Source§impl PartialEq for LedAnimation
impl PartialEq for LedAnimation
Source§fn eq(&self, other: &LedAnimation) -> bool
fn eq(&self, other: &LedAnimation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LedAnimation
impl Serialize for LedAnimation
impl StructuralPartialEq for LedAnimation
Auto Trait Implementations§
impl Freeze for LedAnimation
impl RefUnwindSafe for LedAnimation
impl Send for LedAnimation
impl Sync for LedAnimation
impl Unpin for LedAnimation
impl UnsafeUnpin for LedAnimation
impl UnwindSafe for LedAnimation
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