#[non_exhaustive]#[repr(u32)]pub enum MpegAudioMode {
Stereo = 0,
JointStereo = 1,
Dual = 2,
Mono = 3,
}
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.
Trait Implementations§
Source§impl AsRef<u32> for MpegAudioMode
impl AsRef<u32> for MpegAudioMode
Source§impl Clone for MpegAudioMode
impl Clone for MpegAudioMode
Source§fn clone(&self) -> MpegAudioMode
fn clone(&self) -> MpegAudioMode
Returns a copy 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 MpegAudioMode
impl Debug for MpegAudioMode
Source§impl Deref for MpegAudioMode
impl Deref for MpegAudioMode
Source§impl Display for MpegAudioMode
impl Display for MpegAudioMode
Source§impl From<MpegAudioMode> for u32
impl From<MpegAudioMode> for u32
Source§fn from(data: MpegAudioMode) -> Self
fn from(data: MpegAudioMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MpegAudioMode
impl PartialEq for MpegAudioMode
Source§impl TryFrom<u32> for MpegAudioMode
impl TryFrom<u32> for MpegAudioMode
impl Copy for MpegAudioMode
impl Eq for MpegAudioMode
impl StructuralPartialEq for MpegAudioMode
Auto Trait Implementations§
impl Freeze for MpegAudioMode
impl RefUnwindSafe for MpegAudioMode
impl Send for MpegAudioMode
impl Sync for MpegAudioMode
impl Unpin for MpegAudioMode
impl UnwindSafe for MpegAudioMode
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