Struct coremidi::Destinations [−][src]
pub struct Destinations;
Expand description
Destination endpoints available in the system.
The number of destinations available in the system can be retrieved with:
let number_of_destinations = coremidi::Destinations::count();
The destinations in the system can be iterated as:
for destination in coremidi::Destinations {
println!("{}", destination.display_name().unwrap());
}
Implementations
Get the number of destinations available in the system for sending MIDI messages. See MIDIGetNumberOfDestinations.