pub enum LiveMidiDirection {
Source,
Sink,
Duplex,
}Expand description
Direction exposed by a live MIDI session.
Variants§
Source
Session produces MIDI events.
Sink
Session consumes MIDI events.
Duplex
Session both produces and consumes MIDI events.
Trait Implementations§
Source§impl Clone for LiveMidiDirection
impl Clone for LiveMidiDirection
Source§fn clone(&self) -> LiveMidiDirection
fn clone(&self) -> LiveMidiDirection
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 moreimpl Copy for LiveMidiDirection
Source§impl Debug for LiveMidiDirection
impl Debug for LiveMidiDirection
impl Eq for LiveMidiDirection
Source§impl PartialEq for LiveMidiDirection
impl PartialEq for LiveMidiDirection
Source§fn eq(&self, other: &LiveMidiDirection) -> bool
fn eq(&self, other: &LiveMidiDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LiveMidiDirection
Auto Trait Implementations§
impl Freeze for LiveMidiDirection
impl RefUnwindSafe for LiveMidiDirection
impl Send for LiveMidiDirection
impl Sync for LiveMidiDirection
impl Unpin for LiveMidiDirection
impl UnsafeUnpin for LiveMidiDirection
impl UnwindSafe for LiveMidiDirection
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