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§impl Debug for MidiEndpointJackAssociations
impl Debug for MidiEndpointJackAssociations
impl Eq for MidiEndpointJackAssociations
impl StructuralPartialEq for MidiEndpointJackAssociations
Auto Trait Implementations§
impl Forget for MidiEndpointJackAssociations
impl Freeze for MidiEndpointJackAssociations
impl Move 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