Struct coremidi::Endpoint[][src]

pub struct Endpoint { /* fields omitted */ }
Expand description

A MIDI source or source, owned by an entity. See MIDIEndpointRef.

You don’t need to create an endpoint directly, instead you can create system sources or virtual ones from a client.

Implementations

Unschedules previously-sent packets. See MIDIFlushOutput.

Methods from Deref<Target = Object>

Get the name for the object.

Get the unique id for the object.

Get the display name for the object.

Sets an object’s string-type property.

Gets an object’s string-type property.

Sets an object’s integer-type property.

Gets an object’s integer-type property.

Sets an object’s boolean-type property.

CoreMIDI treats booleans as integers (0/1) but this API uses native bool types

Gets an object’s boolean-type property.

CoreMIDI treats booleans as integers (0/1) but this API uses native bool types

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.