pub enum AudioCommand {
NoteOn {
note: u8,
velocity: f32,
},
NoteOff {
note: u8,
},
AllNotesOff,
SetParam {
node_id: NodeId,
param: String,
value: f32,
},
SetVolume {
volume: f32,
},
SetBpm {
bpm: f32,
},
Mute {
node_id: NodeId,
},
Unmute {
node_id: NodeId,
},
}Variants§
Trait Implementations§
Source§impl Clone for AudioCommand
impl Clone for AudioCommand
Source§fn clone(&self) -> AudioCommand
fn clone(&self) -> AudioCommand
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 moreAuto Trait Implementations§
impl Freeze for AudioCommand
impl RefUnwindSafe for AudioCommand
impl Send for AudioCommand
impl Sync for AudioCommand
impl Unpin for AudioCommand
impl UnsafeUnpin for AudioCommand
impl UnwindSafe for AudioCommand
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