pub enum ActionStep {
Send(MidiMessage),
Delay(u16),
SetLed {
color: Color,
animation: LedAnimation,
},
}Expand description
A single step in an action sequence: either a MIDI message, a delay, or an LED change.
Variants§
Trait Implementations§
Source§impl Clone for ActionStep
impl Clone for ActionStep
Source§fn clone(&self) -> ActionStep
fn clone(&self) -> ActionStep
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 moreSource§impl Debug for ActionStep
impl Debug for ActionStep
impl Eq for ActionStep
Source§impl PartialEq for ActionStep
impl PartialEq for ActionStep
Source§fn eq(&self, other: &ActionStep) -> bool
fn eq(&self, other: &ActionStep) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ActionStep
Auto Trait Implementations§
impl Freeze for ActionStep
impl RefUnwindSafe for ActionStep
impl Send for ActionStep
impl Sync for ActionStep
impl Unpin for ActionStep
impl UnsafeUnpin for ActionStep
impl UnwindSafe for ActionStep
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