Struct midir::MidiOutputPort
source · pub struct MidiOutputPort { /* private fields */ }
Expand description
An object representing a single output 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 MidiOutput
instance to obtain
available ports.
Trait Implementations§
source§impl Clone for MidiOutputPort
impl Clone for MidiOutputPort
source§fn clone(&self) -> MidiOutputPort
fn clone(&self) -> MidiOutputPort
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 MidiOutputPort
impl PartialEq for MidiOutputPort
source§fn eq(&self, other: &MidiOutputPort) -> bool
fn eq(&self, other: &MidiOutputPort) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MidiOutputPort
Auto Trait Implementations§
impl Freeze for MidiOutputPort
impl RefUnwindSafe for MidiOutputPort
impl Send for MidiOutputPort
impl Sync for MidiOutputPort
impl Unpin for MidiOutputPort
impl UnwindSafe for MidiOutputPort
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