Struct midir::MidiOutputConnection [] [src]

pub struct MidiOutputConnection { /* fields omitted */ }

Represents an open connection to a MIDI output port.

Methods

impl MidiOutputConnection
[src]

[src]

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

[src]

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/item/table-1-summary-of-midi-message).