pub struct IntoInterleavedSamples<S>where
S: Signal,{ /* private fields */ }
Expand description
Converts a Signal
to a type that yields the individual interleaved samples.
Implementations§
Source§impl<S> IntoInterleavedSamples<S>where
S: Signal,
impl<S> IntoInterleavedSamples<S>where
S: Signal,
Sourcepub fn next_sample(&mut self) -> <S::Frame as Frame>::Sample
pub fn next_sample(&mut self) -> <S::Frame as Frame>::Sample
Yield the next interleaved sample from the inner Signal
.
Sourcepub fn into_iter(self) -> IntoInterleavedSamplesIterator<S> ⓘ
pub fn into_iter(self) -> IntoInterleavedSamplesIterator<S> ⓘ
Convert the ToInterleavedSamples
into an Iterator
.
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for IntoInterleavedSamples<S>
impl<S> RefUnwindSafe for IntoInterleavedSamples<S>
impl<S> Send for IntoInterleavedSamples<S>
impl<S> Sync for IntoInterleavedSamples<S>
impl<S> Unpin for IntoInterleavedSamples<S>
impl<S> UnwindSafe for IntoInterleavedSamples<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more