pub struct MidiOutputConnection { /* private fields */ }
Expand description

Represents an open connection to a MIDI output port.

Implementations

Closes the connection. The returned value allows you to reuse the MidiOutput object, but it can be safely ignored.

Send a message to the port that this output connection is connected to. The message must be a valid MIDI message (see https://www.midi.org/specifications-old/item/table-1-summary-of-midi-message).

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.