pub enum MidiJackType {
Embedded,
External,
}Expand description
Whether a MIDI jack is inside the USB device or connected externally.
Variants§
Embedded
Jack connected to a USB endpoint.
External
Jack representing a physical or otherwise external MIDI connection.
Trait Implementations§
Source§impl Clone for MidiJackType
impl Clone for MidiJackType
Source§fn clone(&self) -> MidiJackType
fn clone(&self) -> MidiJackType
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 MidiJackType
Source§impl Debug for MidiJackType
impl Debug for MidiJackType
impl Eq for MidiJackType
Source§impl Format for MidiJackType
impl Format for MidiJackType
Source§impl PartialEq for MidiJackType
impl PartialEq for MidiJackType
impl StructuralPartialEq for MidiJackType
Auto Trait Implementations§
impl Freeze for MidiJackType
impl RefUnwindSafe for MidiJackType
impl Send for MidiJackType
impl Sync for MidiJackType
impl Unpin for MidiJackType
impl UnsafeUnpin for MidiJackType
impl UnwindSafe for MidiJackType
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