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