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.

Trait Implementations

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.