[−][src]Struct cpal::SampleRate
The number of samples processed per second for a single channel of audio.
Trait Implementations
impl Clone for SampleRate
[src]
fn clone(&self) -> SampleRate
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SampleRate
[src]
impl Debug for SampleRate
[src]
impl<T> Div<T> for SampleRate where
u32: Div<T, Output = u32>,
[src]
u32: Div<T, Output = u32>,
type Output = Self
The resulting type after applying the /
operator.
fn div(self, rhs: T) -> Self
[src]
impl Eq for SampleRate
[src]
impl<T> Mul<T> for SampleRate where
u32: Mul<T, Output = u32>,
[src]
u32: Mul<T, Output = u32>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, rhs: T) -> Self
[src]
impl Ord for SampleRate
[src]
fn cmp(&self, other: &SampleRate) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SampleRate> for SampleRate
[src]
fn eq(&self, other: &SampleRate) -> bool
[src]
fn ne(&self, other: &SampleRate) -> bool
[src]
impl PartialOrd<SampleRate> for SampleRate
[src]
fn partial_cmp(&self, other: &SampleRate) -> Option<Ordering>
[src]
fn lt(&self, other: &SampleRate) -> bool
[src]
fn le(&self, other: &SampleRate) -> bool
[src]
fn gt(&self, other: &SampleRate) -> bool
[src]
fn ge(&self, other: &SampleRate) -> bool
[src]
impl StructuralEq for SampleRate
[src]
impl StructuralPartialEq for SampleRate
[src]
Auto Trait Implementations
impl RefUnwindSafe for SampleRate
impl Send for SampleRate
impl Sync for SampleRate
impl Unpin for SampleRate
impl UnwindSafe for SampleRate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,