pub enum Action {
Hold,
Off,
Note(MidiNote),
Arp {
notes: [MidiNote; 4],
count: u8,
},
Chord {
notes: [MidiNote; 4],
count: u8,
},
Drums(DrumHits),
}Expand description
What a cell does to its lane.
Variants§
Hold
.: nothing changes.
Off
-: release the lane’s note.
Note(MidiNote)
Note on, releasing the lane’s previous note.
Arp
Note on as a chip arpeggio over notes[..count].
Fields
Chord
Note on for every note of notes[..count] at once, releasing the
lane’s previous note(s).
Fields
Drums(DrumHits)
One or more drum hits.
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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