pub enum StuffMidiMessageTarget {
VirtualMidiKeyboardQueue,
MidiAsControlInputQueue,
VirtualMidiKeyboardQueueOnCurrentChannel,
MidiOutputDevice(MidiOutputDeviceId),
}Expand description
Determines where to route a MIDI message.
Variants§
VirtualMidiKeyboardQueue
Routes the message to REAPER’s virtual MIDI keyboard.
MidiAsControlInputQueue
Routes the message to REAPER’s control path.
That means it can be used in turn to control actions, FX parameters and so on.
VirtualMidiKeyboardQueueOnCurrentChannel
Routes the message to REAPER’s virtual MIDI keyboard on its current channel.
MidiOutputDevice(MidiOutputDeviceId)
Sends the message directly to an external MIDI device.
Implementations§
Trait Implementations§
Source§impl Clone for StuffMidiMessageTarget
impl Clone for StuffMidiMessageTarget
Source§fn clone(&self) -> StuffMidiMessageTarget
fn clone(&self) -> StuffMidiMessageTarget
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 moreSource§impl Debug for StuffMidiMessageTarget
impl Debug for StuffMidiMessageTarget
Source§impl Hash for StuffMidiMessageTarget
impl Hash for StuffMidiMessageTarget
Source§impl PartialEq for StuffMidiMessageTarget
impl PartialEq for StuffMidiMessageTarget
impl Copy for StuffMidiMessageTarget
impl Eq for StuffMidiMessageTarget
impl StructuralPartialEq for StuffMidiMessageTarget
Auto Trait Implementations§
impl Freeze for StuffMidiMessageTarget
impl RefUnwindSafe for StuffMidiMessageTarget
impl Send for StuffMidiMessageTarget
impl Sync for StuffMidiMessageTarget
impl Unpin for StuffMidiMessageTarget
impl UnwindSafe for StuffMidiMessageTarget
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