pub enum AudioFormat {
PcmS16le,
PcmS24le,
PcmS24le4,
PcmS32le,
PcmF32le,
DsdU8,
DsdU16le,
DsdU32le,
Flac,
Opus,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AudioFormat
impl Clone for AudioFormat
Source§fn clone(&self) -> AudioFormat
fn clone(&self) -> AudioFormat
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 AudioFormat
Source§impl Debug for AudioFormat
impl Debug for AudioFormat
Source§impl<'de> Deserialize<'de> for AudioFormat
impl<'de> Deserialize<'de> for AudioFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AudioFormat
impl Display for AudioFormat
impl Eq for AudioFormat
Source§impl Hash for AudioFormat
impl Hash for AudioFormat
Source§impl PartialEq for AudioFormat
impl PartialEq for AudioFormat
Source§fn eq(&self, other: &AudioFormat) -> bool
fn eq(&self, other: &AudioFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AudioFormat
impl Serialize for AudioFormat
impl StructuralPartialEq for AudioFormat
Auto Trait Implementations§
impl Freeze for AudioFormat
impl RefUnwindSafe for AudioFormat
impl Send for AudioFormat
impl Sync for AudioFormat
impl Unpin for AudioFormat
impl UnsafeUnpin for AudioFormat
impl UnwindSafe for AudioFormat
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