[][src]Struct dasp_interpolate::floor::Floor

pub struct Floor<F> { /* fields omitted */ }

Interpolator that rounds off any values to the previous value from the source.

Required Features

  • When using dasp_interpolate, this item requires the floor feature to be enabled.
  • When using dasp, this item requires the interpolate-floor feature to be enabled.

Implementations

impl<F> Floor<F>[src]

pub fn new(left: F) -> Floor<F>[src]

Create a new Floor Interpolator.

Required Features

  • When using dasp_interpolate, this item requires the floor feature to be enabled.
  • When using dasp, this item requires the interpolate-floor feature to be enabled.

Trait Implementations

impl<F> Interpolator for Floor<F> where
    F: Frame,
    F::Sample: Duplex<f64>, 
[src]

type Frame = F

The type of frame over which the interpolate may operate.

Auto Trait Implementations

impl<F> RefUnwindSafe for Floor<F> where
    F: RefUnwindSafe

impl<F> Send for Floor<F> where
    F: Send

impl<F> Sync for Floor<F> where
    F: Sync

impl<F> Unpin for Floor<F> where
    F: Unpin

impl<F> UnwindSafe for Floor<F> where
    F: UnwindSafe

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, 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.