pub struct AudioStreamDescriptor {
pub free_format_flag: bool,
pub id: bool,
pub layer: u8,
pub variable_rate_audio_indicator: bool,
}Expand description
audio_stream_descriptor body (§2.6.4 Table 2-47).
Fields§
§free_format_flag: boolfree_format_flag — 1 when the bitrate is “free format”.
id: boolID — 1 indicates ISO/IEC 11172-3 (MPEG-1) audio, 0
indicates ISO/IEC 13818-3 (MPEG-2) audio extension.
layer: u82-bit layer (00=reserved, 01=III, 10=II, 11=I).
variable_rate_audio_indicator: boolvariable_rate_audio_indicator.
Trait Implementations§
Source§impl Clone for AudioStreamDescriptor
impl Clone for AudioStreamDescriptor
Source§fn clone(&self) -> AudioStreamDescriptor
fn clone(&self) -> AudioStreamDescriptor
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 moreimpl Copy for AudioStreamDescriptor
Source§impl Debug for AudioStreamDescriptor
impl Debug for AudioStreamDescriptor
impl Eq for AudioStreamDescriptor
Source§impl PartialEq for AudioStreamDescriptor
impl PartialEq for AudioStreamDescriptor
Source§fn eq(&self, other: &AudioStreamDescriptor) -> bool
fn eq(&self, other: &AudioStreamDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioStreamDescriptor
Auto Trait Implementations§
impl Freeze for AudioStreamDescriptor
impl RefUnwindSafe for AudioStreamDescriptor
impl Send for AudioStreamDescriptor
impl Sync for AudioStreamDescriptor
impl Unpin for AudioStreamDescriptor
impl UnsafeUnpin for AudioStreamDescriptor
impl UnwindSafe for AudioStreamDescriptor
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