pub enum SampleRate {
Show 13 variants
Hz96000 = 0,
Hz88200 = 1,
Hz64000 = 2,
Hz48000 = 3,
Hz44100 = 4,
Hz32000 = 5,
Hz24000 = 6,
Hz22050 = 7,
Hz16000 = 8,
Hz12000 = 9,
Hz11025 = 10,
Hz8000 = 11,
Hz7350 = 12,
}Expand description
An enum representing the sample rate of an MPEG-4 audio track.
Variants§
Hz96000 = 0
A Sample rate of 96000Hz
Hz88200 = 1
A Sample rate of 88200Hz
Hz64000 = 2
A Sample rate of 64000Hz
Hz48000 = 3
A Sample rate of 48000Hz
Hz44100 = 4
A Sample rate of 44100Hz
Hz32000 = 5
A Sample rate of 32000Hz
Hz24000 = 6
A Sample rate of 24000Hz
Hz22050 = 7
A Sample rate of 24050Hz
Hz16000 = 8
A Sample rate of 16000Hz
Hz12000 = 9
A Sample rate of 12000Hz
Hz11025 = 10
A Sample rate of 11050Hz
Hz8000 = 11
A Sample rate of 8000Hz
Hz7350 = 12
A Sample rate of 7350Hz
Implementations§
Trait Implementations§
Source§impl Clone for SampleRate
impl Clone for SampleRate
Source§fn clone(&self) -> SampleRate
fn clone(&self) -> SampleRate
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 SampleRate
impl Debug for SampleRate
Source§impl Display for SampleRate
impl Display for SampleRate
Source§impl PartialEq for SampleRate
impl PartialEq for SampleRate
Source§impl TryFrom<u8> for SampleRate
impl TryFrom<u8> for SampleRate
impl Copy for SampleRate
impl Eq for SampleRate
impl StructuralPartialEq for SampleRate
Auto Trait Implementations§
impl Freeze for SampleRate
impl RefUnwindSafe for SampleRate
impl Send for SampleRate
impl Sync for SampleRate
impl Unpin for SampleRate
impl UnwindSafe for SampleRate
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