pub struct MidiInputConnection { /* private fields */ }Expand description
An open connection to a MIDI input port.
Holds the underlying midir connection alive; dropping it closes the port and stops the
callback. Keep it for as long as you want to receive MIDI.
Auto Trait Implementations§
impl !RefUnwindSafe for MidiInputConnection
impl !Sync for MidiInputConnection
impl !UnwindSafe for MidiInputConnection
impl Freeze for MidiInputConnection
impl Send for MidiInputConnection
impl Unpin for MidiInputConnection
impl UnsafeUnpin for MidiInputConnection
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