pub trait MidiPorts {
// Required methods
fn midi_inputs(&self) -> Vec<Arc<UnsafeMutex<Box<MIDIIO>>>>;
fn midi_outputs(&self) -> Vec<Arc<UnsafeMutex<Box<MIDIIO>>>>;
}Expand description
A set of MIDI input/output ports.
Required Methods§
fn midi_inputs(&self) -> Vec<Arc<UnsafeMutex<Box<MIDIIO>>>>
fn midi_outputs(&self) -> Vec<Arc<UnsafeMutex<Box<MIDIIO>>>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".