pub enum AudioCodingMode {
Ac3,
Mpeg1,
Mpeg2Ext,
Lpcm,
Dts,
Reserved(u8),
}Expand description
Audio coding mode — byte 0 bits 7..5 of the 8-byte audio-attr
field. 0 = AC-3, 2 = MPEG-1, 3 = MPEG-2 extended, 4 = LPCM,
6 = DTS. Codes 1, 5, 7 are reserved by the spec.
Variants§
Trait Implementations§
Source§impl Clone for AudioCodingMode
impl Clone for AudioCodingMode
Source§fn clone(&self) -> AudioCodingMode
fn clone(&self) -> AudioCodingMode
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 AudioCodingMode
Source§impl Debug for AudioCodingMode
impl Debug for AudioCodingMode
impl Eq for AudioCodingMode
Source§impl PartialEq for AudioCodingMode
impl PartialEq for AudioCodingMode
Source§fn eq(&self, other: &AudioCodingMode) -> bool
fn eq(&self, other: &AudioCodingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioCodingMode
Auto Trait Implementations§
impl Freeze for AudioCodingMode
impl RefUnwindSafe for AudioCodingMode
impl Send for AudioCodingMode
impl Sync for AudioCodingMode
impl Unpin for AudioCodingMode
impl UnsafeUnpin for AudioCodingMode
impl UnwindSafe for AudioCodingMode
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