#[non_exhaustive]pub enum AudioEncoding {
PcmI16,
PcmF32,
ALaw,
MuLaw,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PcmI16
Signed 16-bit PCM encoding.
PcmF32
32-bit floating point PCM encoding.
ALaw
8-bit A-law encoding.
MuLaw
8-bit μ-law encoding.
Trait Implementations§
Source§impl Clone for AudioEncoding
impl Clone for AudioEncoding
Source§fn clone(&self) -> AudioEncoding
fn clone(&self) -> AudioEncoding
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 AudioEncoding
impl Debug for AudioEncoding
Source§impl PartialEq for AudioEncoding
impl PartialEq for AudioEncoding
impl Copy for AudioEncoding
impl Eq for AudioEncoding
impl StructuralPartialEq for AudioEncoding
Auto Trait Implementations§
impl Freeze for AudioEncoding
impl RefUnwindSafe for AudioEncoding
impl Send for AudioEncoding
impl Sync for AudioEncoding
impl Unpin for AudioEncoding
impl UnwindSafe for AudioEncoding
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