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.
Fields§
§free_format_flag: boolFree format flag.
id: boolMPEG audio ID.
layer: u8Layer (0=reserved).
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 moreSource§impl Debug for AudioStreamDescriptor
impl Debug for AudioStreamDescriptor
Source§impl<'a> DescriptorDef<'a> for AudioStreamDescriptor
impl<'a> DescriptorDef<'a> for AudioStreamDescriptor
impl Eq for AudioStreamDescriptor
Source§impl<'a> From<AudioStreamDescriptor> for AnyDescriptor<'a>
impl<'a> From<AudioStreamDescriptor> for AnyDescriptor<'a>
Source§fn from(d: AudioStreamDescriptor) -> Self
fn from(d: AudioStreamDescriptor) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for AudioStreamDescriptor
impl<'a> Parse<'a> 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 ==.Source§impl Serialize for AudioStreamDescriptor
impl Serialize for AudioStreamDescriptor
Source§impl Serialize for AudioStreamDescriptor
impl Serialize for AudioStreamDescriptor
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for AudioStreamDescriptor
Source§impl<'a> Yokeable<'a> for AudioStreamDescriptorwhere
Self: Sized,
impl<'a> Yokeable<'a> for AudioStreamDescriptorwhere
Self: Sized,
Source§type Output = AudioStreamDescriptor
type Output = AudioStreamDescriptor
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
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