pub struct AudioStreamingClassDescriptor {
pub terminal_link_id: u8,
pub controls_bitmap: u8,
pub format: Format,
pub num_channels: u8,
pub channel_config_bitmap: u32,
pub channel_name: StringIndex,
}Expand description
Audio streaming class descriptor containing format and channel information.
Fields§
§terminal_link_id: u8Terminal link ID connecting to the control interface.
controls_bitmap: u8Bitmap of supported controls.
format: FormatAudio format type supported by this interface.
num_channels: u8Number of channels supported.
channel_config_bitmap: u32Bitmap of channel configuration.
channel_name: StringIndexIndex of string descriptor for channel names.
Trait Implementations§
Source§impl Clone for AudioStreamingClassDescriptor
impl Clone for AudioStreamingClassDescriptor
Source§fn clone(&self) -> AudioStreamingClassDescriptor
fn clone(&self) -> AudioStreamingClassDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for AudioStreamingClassDescriptor
impl PartialEq for AudioStreamingClassDescriptor
Source§fn eq(&self, other: &AudioStreamingClassDescriptor) -> bool
fn eq(&self, other: &AudioStreamingClassDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioStreamingClassDescriptor
Auto Trait Implementations§
impl Freeze for AudioStreamingClassDescriptor
impl RefUnwindSafe for AudioStreamingClassDescriptor
impl Send for AudioStreamingClassDescriptor
impl Sync for AudioStreamingClassDescriptor
impl Unpin for AudioStreamingClassDescriptor
impl UnwindSafe for AudioStreamingClassDescriptor
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