Struct sample::signal::Rate
[−]
[src]
pub struct Rate {
// some 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>
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
Derived Implementations
impl PartialEq for Rate[src]
fn eq(&self, __arg_0: &Rate) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Rate) -> bool
This method tests for !=.
impl Debug for Rate[src]
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