#[repr(i32)]pub enum SampleRate {
Hz8000 = 8_000,
Hz12000 = 12_000,
Hz16000 = 16_000,
Hz24000 = 24_000,
Hz48000 = 48_000,
}
Expand description
Possible sample rates to use
Variants§
Hz8000 = 8_000
8000
Hz12000 = 12_000
12000
Hz16000 = 16_000
16000
Hz24000 = 24_000
24000
Hz48000 = 48_000
48000
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 · 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 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§
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