pub struct MidiOutJack {
pub jack_type: MidiJackType,
pub jack_id: u8,
pub sources: Vec<MidiJackSource, MAX_MIDI_JACK_SOURCES>,
pub string_index: u8,
}Expand description
MIDI OUT jack descriptor.
Fields§
§jack_type: MidiJackTypeEmbedded or external jack.
jack_id: u8Jack identifier referenced by other class-specific descriptors.
sources: Vec<MidiJackSource, MAX_MIDI_JACK_SOURCES>Source pins feeding this jack.
string_index: u8String descriptor index, or zero when absent.
Implementations§
Source§impl MidiOutJack
impl MidiOutJack
Sourcepub fn try_from_bytes(raw: &[u8]) -> Result<Self, MidiDescriptorError>
pub fn try_from_bytes(raw: &[u8]) -> Result<Self, MidiDescriptorError>
Parse a class-specific MIDI OUT jack descriptor.
Trait Implementations§
Source§impl Clone for MidiOutJack
impl Clone for MidiOutJack
Source§fn clone(&self) -> MidiOutJack
fn clone(&self) -> MidiOutJack
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 moreSource§impl Debug for MidiOutJack
impl Debug for MidiOutJack
impl Eq for MidiOutJack
Source§impl Format for MidiOutJack
impl Format for MidiOutJack
Source§impl PartialEq for MidiOutJack
impl PartialEq for MidiOutJack
impl StructuralPartialEq for MidiOutJack
Auto Trait Implementations§
impl Freeze for MidiOutJack
impl RefUnwindSafe for MidiOutJack
impl Send for MidiOutJack
impl Sync for MidiOutJack
impl Unpin for MidiOutJack
impl UnsafeUnpin for MidiOutJack
impl UnwindSafe for MidiOutJack
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