pub struct MidiInputPort { /* private fields */ }Expand description
A discovered MIDI input port: its human-readable name plus the opaque handle used to open it.
Obtain these from list_midi_input_ports. The handle is tied to the port as the OS reported
it at enumeration time; if the device is unplugged, connect will fail.
Implementations§
Trait Implementations§
Source§impl Clone for MidiInputPort
impl Clone for MidiInputPort
Source§fn clone(&self) -> MidiInputPort
fn clone(&self) -> MidiInputPort
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MidiInputPort
impl RefUnwindSafe for MidiInputPort
impl Send for MidiInputPort
impl Sync for MidiInputPort
impl Unpin for MidiInputPort
impl UnsafeUnpin for MidiInputPort
impl UnwindSafe for MidiInputPort
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more