pub enum SampleRate {
Hz8000 = 8_000,
Hz11025 = 11_025,
Hz22050 = 22_050,
Hz32000 = 32_000,
Hz44100 = 44_100,
Hz48000 = 48_000,
}Variants§
Hz8000 = 8_000
Hz11025 = 11_025
Hz22050 = 22_050
Hz32000 = 32_000
Hz44100 = 44_100
Hz48000 = 48_000
Implementations§
Trait Implementations§
Source§impl Clone for SampleRate
impl Clone for SampleRate
Source§fn clone(&self) -> SampleRate
fn clone(&self) -> SampleRate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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§fn eq(&self, other: &SampleRate) -> bool
fn eq(&self, other: &SampleRate) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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