[][src]Struct sample::signal::IntoInterleavedSamples

pub struct IntoInterleavedSamples<S> where
    S: Signal
{ /* fields omitted */ }

Converts a Signal to a type that yields the individual interleaved samples.

Implementations

impl<S> IntoInterleavedSamples<S> where
    S: Signal
[src]

pub fn next_sample(&mut self) -> <S::Frame as Frame>::Sample[src]

Yield the next interleaved sample from the inner Signal.

pub fn into_iter(self) -> IntoInterleavedSamplesIterator<S>[src]

Convert the ToInterleavedSamples into an Iterator.

Trait Implementations

impl<S> Clone for IntoInterleavedSamples<S> where
    S: Signal + Clone,
    <S::Frame as Frame>::Channels: Clone
[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for IntoInterleavedSamples<S> where
    S: RefUnwindSafe,
    <<S as Signal>::Frame as Frame>::Channels: RefUnwindSafe

impl<S> Send for IntoInterleavedSamples<S> where
    S: Send,
    <<S as Signal>::Frame as Frame>::Channels: Send

impl<S> Sync for IntoInterleavedSamples<S> where
    S: Sync,
    <<S as Signal>::Frame as Frame>::Channels: Sync

impl<S> Unpin for IntoInterleavedSamples<S> where
    S: Unpin,
    <<S as Signal>::Frame as Frame>::Channels: Unpin

impl<S> UnwindSafe for IntoInterleavedSamples<S> where
    S: UnwindSafe,
    <<S as Signal>::Frame as Frame>::Channels: 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> 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.