pub enum Rates {
Continuous(u32, u32),
Discrete(&'static [u32]),
}Expand description
Supported sampling rates for an audio stream.
Variants§
Continuous(u32, u32)
Continuous range [min, max] in Hz (0 = continuous in descriptor).
Discrete(&'static [u32])
Discrete set of frequencies in Hz.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Rates
impl Freeze for Rates
impl Move for Rates
impl RefUnwindSafe for Rates
impl Send for Rates
impl Sync for Rates
impl Unpin for Rates
impl UnsafeUnpin for Rates
impl UnwindSafe for Rates
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