pub struct AudioSpecificConfig {
pub object_type: u8,
pub sample_rate: u32,
pub sf_index: u8,
pub channel_config: u8,
pub frame_length_flag: bool,
pub sbr: bool,
pub ps: bool,
pub extension_sample_rate: Option<u32>,
pub pce: Option<ProgramConfig>,
}Fields§
§object_type: u8§sample_rate: u32§sf_index: u8§channel_config: u8§frame_length_flag: bool§sbr: bool§ps: bool§extension_sample_rate: Option<u32>§pce: Option<ProgramConfig>Implementations§
Trait Implementations§
Source§impl Clone for AudioSpecificConfig
impl Clone for AudioSpecificConfig
Source§fn clone(&self) -> AudioSpecificConfig
fn clone(&self) -> AudioSpecificConfig
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 AudioSpecificConfig
impl Debug for AudioSpecificConfig
Source§impl PartialEq for AudioSpecificConfig
impl PartialEq for AudioSpecificConfig
Source§fn eq(&self, other: &AudioSpecificConfig) -> bool
fn eq(&self, other: &AudioSpecificConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AudioSpecificConfig
impl StructuralPartialEq for AudioSpecificConfig
Auto Trait Implementations§
impl Freeze for AudioSpecificConfig
impl RefUnwindSafe for AudioSpecificConfig
impl Send for AudioSpecificConfig
impl Sync for AudioSpecificConfig
impl Unpin for AudioSpecificConfig
impl UnsafeUnpin for AudioSpecificConfig
impl UnwindSafe for AudioSpecificConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more