pub fn to_raw(self) -> i32 {
        use StuffMidiMessageTarget::*;
        match self {
            VirtualMidiKeyboardQueue => 0,
            MidiAsControlInputQueue => 1,
            VirtualMidiKeyboardQueueOnCurrentChannel => 2,
            MidiOutputDevice(id) => 16 + id.0 as i32,
        }
    }
/// Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low - level API .
pub fn to_raw(self) -> i32 {
        use StuffMidiMessageTarget::*;
        match self {
            VirtualMidiKeyboardQueue => 0,
            MidiAsControlInputQueue => 1,
            VirtualMidiKeyboardQueueOnCurrentChannel => 2,
            MidiOutputDevice(id) => 16 + id.0 as i32,
        }
    }
pub fn to_raw ( self ) -> i32 { use StuffMidiMessageTarget :: * ; match self { VirtualMidiKeyboardQueue => 0 , MidiAsControlInputQueue => 1 , VirtualMidiKeyboardQueueOnCurrentChannel => 2 , MidiOutputDevice ( id ) => 16 + id . 0 as i32 , } }
Converts this value to an integer as expected by the low-level API.
Converts this value to an integer as expected by the low - level API .
self
self