Struct dsp::signal::Gen [] [src]

pub struct Gen<G, F> {
    // some fields omitted
}

A signal that generates frames using the given function.

Trait Implementations

impl<G, F> Iterator for Gen<G, F> where G: Fn() -> F

type Item = F

fn next(&mut self) -> Option<Gen<G, F>::Item>

Derived Implementations

impl<G, F> Clone for Gen<G, F> where F: Clone, G: Clone

fn clone(&self) -> Gen<G, F>

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