pub struct MidiEndpointDescriptor {
pub address: u8,
pub max_packet_size: u16,
pub jack_ids: Vec<u8, MAX_MIDI_JACKS>,
}Expand description
One physical USB bulk endpoint and its ordered virtual-cable jack IDs.
Fields§
§address: u8USB endpoint address, including its direction bit.
max_packet_size: u16Maximum USB packet size.
jack_ids: Vec<u8, MAX_MIDI_JACKS>Associated embedded jack IDs. Their positions are USB-MIDI cable numbers.
Implementations§
Trait Implementations§
Source§impl Clone for MidiEndpointDescriptor
impl Clone for MidiEndpointDescriptor
Source§fn clone(&self) -> MidiEndpointDescriptor
fn clone(&self) -> MidiEndpointDescriptor
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 MidiEndpointDescriptor
impl Debug for MidiEndpointDescriptor
impl Eq for MidiEndpointDescriptor
Source§impl Format for MidiEndpointDescriptor
impl Format for MidiEndpointDescriptor
Source§impl PartialEq for MidiEndpointDescriptor
impl PartialEq for MidiEndpointDescriptor
impl StructuralPartialEq for MidiEndpointDescriptor
Auto Trait Implementations§
impl Freeze for MidiEndpointDescriptor
impl RefUnwindSafe for MidiEndpointDescriptor
impl Send for MidiEndpointDescriptor
impl Sync for MidiEndpointDescriptor
impl Unpin for MidiEndpointDescriptor
impl UnsafeUnpin for MidiEndpointDescriptor
impl UnwindSafe for MidiEndpointDescriptor
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