[][src]Struct dasp_signal::ConstHz

pub struct ConstHz { /* fields omitted */ }

A constant phase step size.

Implementations

impl ConstHz[src]

pub fn phase(self) -> Phase<Self>[src]

Construct a Phase iterator that is incremented via the constant step size, self.step.

pub fn sine(self) -> Sine<Self>[src]

A composable alternative to the signal::sine function.

pub fn saw(self) -> Saw<Self>[src]

A composable alternative to the signal::saw function.

pub fn square(self) -> Square<Self>[src]

A composable alternative to the signal::square function.

pub fn noise_simplex(self) -> NoiseSimplex<Self>[src]

A composable alternative to the signal::noise_simplex function.

Trait Implementations

impl Clone for ConstHz[src]

impl Signal for ConstHz[src]

type Frame = f64

The Frame type returned by the Signal.

impl Step for ConstHz[src]

Auto Trait Implementations

impl RefUnwindSafe for ConstHz

impl Send for ConstHz

impl Sync for ConstHz

impl Unpin for ConstHz

impl UnwindSafe for ConstHz

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<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

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

impl<S> FromSample<S> for S[src]

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

impl<T> SignalBus for T where
    T: Signal
[src]

impl<T> SignalEnvelope for T where
    T: Signal
[src]

impl<T> SignalRms for T where
    T: Signal
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> ToSample<U> for T where
    U: FromSample<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.