[][src]Struct twang::Synth

pub struct Synth<T: Debug> { /* fields omitted */ }

A streaming synthesizer. Implements Stream.

Implementations

impl<T: Debug> Synth<T>[src]

pub fn new(params: T, synth: fn(_: &mut T, _: Fc) -> Signal) -> Self[src]

Create a new streaming synthesizer.

pub fn params(&mut self) -> &mut T[src]

Get the parameters of the synthesizer.

Trait Implementations

impl<T: Debug> Debug for Synth<T>[src]

impl<T: Debug> Iterator for &mut Synth<T>[src]

type Item = Mono64

The type of the elements being iterated over.

impl<T: Debug> Stream<Mono<Ch64>> for &mut Synth<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Synth<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Synth<T> where
    T: Send
[src]

impl<T> Sync for Synth<T> where
    T: Sync
[src]

impl<T> Unpin for Synth<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Synth<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.