Struct dsp::signal::Rate
[−]
[src]
pub struct Rate { /* fields omitted */ }
The rate at which phrase a Signal is sampled.
Methods
impl Rate
[src]
fn const_hz(self, hz: f64) -> ConstHz
Create a ConstHz
iterator which consistently yields "hz / rate".
fn hz<I>(self, init: f64, hz: I) -> Hz<I> where
I: Iterator<Item = f64>,
I: Iterator<Item = f64>,
Create a variable hz
some iterator that yields hz and an initial hz.
The Hz
iterator yields phase step sizes equal to "hz / rate".
Trait Implementations
impl Clone for Rate
[src]
fn clone(&self) -> Rate
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more