pub struct MidiEndpointJackAssociations {
pub jack_ids: Vec<u8, MAX_MIDI_JACKS>,
}Expand description
Jack IDs associated with a class-specific MIDIStreaming endpoint descriptor.
Fields§
§jack_ids: Vec<u8, MAX_MIDI_JACKS>Embedded jack IDs ordered by USB-MIDI cable number.
Implementations§
Source§impl MidiEndpointJackAssociations
impl MidiEndpointJackAssociations
Sourcepub fn try_from_bytes(raw: &[u8]) -> Result<Self, MidiDescriptorError>
pub fn try_from_bytes(raw: &[u8]) -> Result<Self, MidiDescriptorError>
Parse a class-specific MIDIStreaming endpoint descriptor.
Trait Implementations§
Source§impl Clone for MidiEndpointJackAssociations
impl Clone for MidiEndpointJackAssociations
Source§fn clone(&self) -> MidiEndpointJackAssociations
fn clone(&self) -> MidiEndpointJackAssociations
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 MidiEndpointJackAssociations
impl Debug for MidiEndpointJackAssociations
impl Eq for MidiEndpointJackAssociations
impl StructuralPartialEq for MidiEndpointJackAssociations
Auto Trait Implementations§
impl Freeze for MidiEndpointJackAssociations
impl RefUnwindSafe for MidiEndpointJackAssociations
impl Send for MidiEndpointJackAssociations
impl Sync for MidiEndpointJackAssociations
impl Unpin for MidiEndpointJackAssociations
impl UnsafeUnpin for MidiEndpointJackAssociations
impl UnwindSafe for MidiEndpointJackAssociations
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