#[non_exhaustive]#[repr(u32)]pub enum MpegAudioEncoding {
Layer1,
Layer2,
Layer3,
Aac,
Ac3,
}
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.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl AsRef<u32> for MpegAudioEncoding
impl AsRef<u32> for MpegAudioEncoding
source§impl Clone for MpegAudioEncoding
impl Clone for MpegAudioEncoding
source§fn clone(&self) -> MpegAudioEncoding
fn clone(&self) -> MpegAudioEncoding
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 MpegAudioEncoding
impl Debug for MpegAudioEncoding
source§impl Deref for MpegAudioEncoding
impl Deref for MpegAudioEncoding
source§impl Display for MpegAudioEncoding
impl Display for MpegAudioEncoding
source§impl From<MpegAudioEncoding> for u32
impl From<MpegAudioEncoding> for u32
source§fn from(data: MpegAudioEncoding) -> Self
fn from(data: MpegAudioEncoding) -> Self
Converts to this type from the input type.
source§impl PartialEq<MpegAudioEncoding> for MpegAudioEncoding
impl PartialEq<MpegAudioEncoding> for MpegAudioEncoding
source§fn eq(&self, other: &MpegAudioEncoding) -> bool
fn eq(&self, other: &MpegAudioEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for MpegAudioEncoding
impl TryFrom<u32> for MpegAudioEncoding
impl Copy for MpegAudioEncoding
impl Eq for MpegAudioEncoding
impl StructuralEq for MpegAudioEncoding
impl StructuralPartialEq for MpegAudioEncoding
Auto Trait Implementations§
impl RefUnwindSafe for MpegAudioEncoding
impl Send for MpegAudioEncoding
impl Sync for MpegAudioEncoding
impl Unpin for MpegAudioEncoding
impl UnwindSafe for MpegAudioEncoding
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