#[non_exhaustive]#[repr(u32)]pub enum MpegAudioEmphasis {
None,
E50Div15uS,
CCITTJ17,
}
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 MpegAudioEmphasis
impl AsRef<u32> for MpegAudioEmphasis
source§impl Clone for MpegAudioEmphasis
impl Clone for MpegAudioEmphasis
source§fn clone(&self) -> MpegAudioEmphasis
fn clone(&self) -> MpegAudioEmphasis
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 MpegAudioEmphasis
impl Debug for MpegAudioEmphasis
source§impl Deref for MpegAudioEmphasis
impl Deref for MpegAudioEmphasis
source§impl Display for MpegAudioEmphasis
impl Display for MpegAudioEmphasis
source§impl From<MpegAudioEmphasis> for u32
impl From<MpegAudioEmphasis> for u32
source§fn from(data: MpegAudioEmphasis) -> Self
fn from(data: MpegAudioEmphasis) -> Self
Converts to this type from the input type.
source§impl PartialEq<MpegAudioEmphasis> for MpegAudioEmphasis
impl PartialEq<MpegAudioEmphasis> for MpegAudioEmphasis
source§fn eq(&self, other: &MpegAudioEmphasis) -> bool
fn eq(&self, other: &MpegAudioEmphasis) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for MpegAudioEmphasis
impl TryFrom<u32> for MpegAudioEmphasis
impl Copy for MpegAudioEmphasis
impl Eq for MpegAudioEmphasis
impl StructuralEq for MpegAudioEmphasis
impl StructuralPartialEq for MpegAudioEmphasis
Auto Trait Implementations§
impl RefUnwindSafe for MpegAudioEmphasis
impl Send for MpegAudioEmphasis
impl Sync for MpegAudioEmphasis
impl Unpin for MpegAudioEmphasis
impl UnwindSafe for MpegAudioEmphasis
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