pub enum Modifier {
Solid,
Glow,
Blink,
Pulse,
Rotate,
ColorCycle,
}Expand description
Temporal modifier — how rendered pixels change over time.
Variants§
Solid
No modulation, full brightness.
Glow
Static dim (1/8 intensity) — “available but inactive”.
Blink
On/off toggle at ~4Hz.
Pulse
Sine-wave fade, period ~1.5s.
Rotate
Rotate pattern clockwise, one step per ~100ms.
ColorCycle
Cycle hue over time (ignores original color, keeps lit/unlit pattern).
Trait Implementations§
impl Copy for Modifier
Source§impl<'de> Deserialize<'de> for Modifier
impl<'de> Deserialize<'de> for Modifier
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 Modifier
impl StructuralPartialEq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl Send for Modifier
impl Sync for Modifier
impl Unpin for Modifier
impl UnsafeUnpin for Modifier
impl UnwindSafe for Modifier
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