pub enum SampleRate {
Hz8000 = 8_000,
Hz12000 = 12_000,
Hz16000 = 16_000,
Hz24000 = 24_000,
Hz48000 = 48_000,
}Expand description
Supported input/output sample rates.
Variants§
Hz8000 = 8_000
8 kHz.
Hz12000 = 12_000
12 kHz.
Hz16000 = 16_000
16 kHz.
Hz24000 = 24_000
24 kHz.
Hz48000 = 48_000
48 kHz.
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§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 Default for SampleRate
impl Default for SampleRate
Source§fn default() -> SampleRate
fn default() -> SampleRate
Returns the “default value” for a type. Read more
Source§impl PartialEq for SampleRate
impl PartialEq 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)