pub struct Midi2EndpointGtbAssociations {
pub block_ids: Vec<u8, MAX_GTBS>,
}Expand description
Group Terminal Block IDs associated with a class-specific MIDI 2.0 endpoint descriptor.
Fields§
§block_ids: Vec<u8, MAX_GTBS>Group Terminal Block IDs associated with this endpoint.
Implementations§
Source§impl Midi2EndpointGtbAssociations
impl Midi2EndpointGtbAssociations
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 2.0 endpoint descriptor.
Trait Implementations§
Source§impl Clone for Midi2EndpointGtbAssociations
impl Clone for Midi2EndpointGtbAssociations
Source§impl Debug for Midi2EndpointGtbAssociations
impl Debug for Midi2EndpointGtbAssociations
impl Eq for Midi2EndpointGtbAssociations
impl StructuralPartialEq for Midi2EndpointGtbAssociations
Auto Trait Implementations§
impl Forget for Midi2EndpointGtbAssociations
impl Freeze for Midi2EndpointGtbAssociations
impl Move for Midi2EndpointGtbAssociations
impl RefUnwindSafe for Midi2EndpointGtbAssociations
impl Send for Midi2EndpointGtbAssociations
impl Sync for Midi2EndpointGtbAssociations
impl Unpin for Midi2EndpointGtbAssociations
impl UnsafeUnpin for Midi2EndpointGtbAssociations
impl UnwindSafe for Midi2EndpointGtbAssociations
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