Struct midir::MidiInputPort
source · pub struct MidiInputPort { /* private fields */ }
Expand description
An object representing a single input port. How the port is identified internally is backend-dependent. If the backend allows it, port objects remain valid when other ports in the system change (i.e. it is not just an index).
Use the ports
method of a MidiInput
instance to obtain
available ports.
Trait Implementations§
source§impl Clone for MidiInputPort
impl Clone for MidiInputPort
source§fn clone(&self) -> MidiInputPort
fn clone(&self) -> MidiInputPort
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq for MidiInputPort
impl PartialEq for MidiInputPort
source§fn eq(&self, other: &MidiInputPort) -> bool
fn eq(&self, other: &MidiInputPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MidiInputPort
Auto Trait Implementations§
impl Freeze for MidiInputPort
impl RefUnwindSafe for MidiInputPort
impl Send for MidiInputPort
impl Sync for MidiInputPort
impl Unpin 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