[][src]Enum reaper_medium::StuffMidiMessageTarget

pub enum StuffMidiMessageTarget {
    VirtualMidiKeyboardQueue,
    MidiAsControlInputQueue,
    VirtualMidiKeyboardQueueOnCurrentChannel,
    MidiOutputDevice(MidiOutputDeviceId),
}

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

impl StuffMidiMessageTarget[src]

pub fn to_raw(&self) -> i32[src]

Converts this value to an integer as expected by the low-level API.

Trait Implementations

impl Clone for StuffMidiMessageTarget[src]

impl Copy for StuffMidiMessageTarget[src]

impl Debug for StuffMidiMessageTarget[src]

impl Eq for StuffMidiMessageTarget[src]

impl Hash for StuffMidiMessageTarget[src]

impl PartialEq<StuffMidiMessageTarget> for StuffMidiMessageTarget[src]

impl StructuralEq for StuffMidiMessageTarget[src]

impl StructuralPartialEq for StuffMidiMessageTarget[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.