Struct coremidi::Device [−][src]
pub struct Device { /* fields omitted */ }
Expand description
A MIDI object.
A MIDI device or external device, containing entities.
Methods from Deref<Target = 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
pub fn set_property<T>(
&self,
property: &dyn PropertySetter<T>,
value: T
) -> Result<(), OSStatus>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Device
impl UnwindSafe for Device
Blanket Implementations
Mutably borrows from an owned value. Read more