pub struct AudioStreamingInterface {
pub interface_descriptors: Vec<InterfaceDescriptor, MAX_ALTERNATE_SETTINGS>,
pub class_descriptor: AudioStreamingClassDescriptor,
pub endpoint_descriptor: Option<EndpointDescriptor>,
pub feedback_endpoint_descriptor: Option<EndpointDescriptor>,
pub audio_endpoint_descriptor: Option<AudioEndpointDescriptor>,
pub format_type_descriptor: Option<FormatTypeDescriptor>,
}Expand description
Audio streaming interface containing streaming-related descriptors.
This struct contains the interface descriptors, class descriptor, endpoint descriptors, and format type descriptor for an audio streaming interface.
Fields§
§interface_descriptors: Vec<InterfaceDescriptor, MAX_ALTERNATE_SETTINGS>Interface descriptors for this streaming interface.
class_descriptor: AudioStreamingClassDescriptorAudio streaming class descriptor.
endpoint_descriptor: Option<EndpointDescriptor>Main endpoint descriptor for audio data.
feedback_endpoint_descriptor: Option<EndpointDescriptor>Optional feedback endpoint descriptor for clock synchronization.
audio_endpoint_descriptor: Option<AudioEndpointDescriptor>Audio-specific endpoint descriptor.
format_type_descriptor: Option<FormatTypeDescriptor>Format type descriptor defining the audio format.
Trait Implementations§
Source§impl Clone for AudioStreamingInterface
impl Clone for AudioStreamingInterface
Source§fn clone(&self) -> AudioStreamingInterface
fn clone(&self) -> AudioStreamingInterface
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 Debug for AudioStreamingInterface
impl Debug for AudioStreamingInterface
Source§impl Format for AudioStreamingInterfacewhere
Vec<InterfaceDescriptor, MAX_ALTERNATE_SETTINGS>: Format,
AudioStreamingClassDescriptor: Format,
Option<EndpointDescriptor>: Format,
Option<AudioEndpointDescriptor>: Format,
Option<FormatTypeDescriptor>: Format,
impl Format for AudioStreamingInterfacewhere
Vec<InterfaceDescriptor, MAX_ALTERNATE_SETTINGS>: Format,
AudioStreamingClassDescriptor: Format,
Option<EndpointDescriptor>: Format,
Option<AudioEndpointDescriptor>: Format,
Option<FormatTypeDescriptor>: Format,
Source§impl PartialEq for AudioStreamingInterface
impl PartialEq for AudioStreamingInterface
impl StructuralPartialEq for AudioStreamingInterface
Auto Trait Implementations§
impl Freeze for AudioStreamingInterface
impl RefUnwindSafe for AudioStreamingInterface
impl Send for AudioStreamingInterface
impl Sync for AudioStreamingInterface
impl Unpin for AudioStreamingInterface
impl UnwindSafe for AudioStreamingInterface
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