[−][src]Struct dasp_signal::IntoInterleavedSamples
Converts a Signal
to a type that yields the individual interleaved samples.
Implementations
impl<S> IntoInterleavedSamples<S> where
S: Signal,
[src]
S: Signal,
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]
S: Signal + Clone,
<S::Frame as Frame>::Channels: Clone,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for IntoInterleavedSamples<S> where
S: RefUnwindSafe,
<<S as Signal>::Frame as Frame>::Channels: RefUnwindSafe,
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,
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,
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,
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,
S: UnwindSafe,
<<S as Signal>::Frame as Frame>::Channels: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<S, T> Duplex<S> for T where
T: FromSample<S> + ToSample<S>,
[src]
T: FromSample<S> + ToSample<S>,
impl<T> From<T> for T
[src]
impl<S> FromSample<S> for S
[src]
fn from_sample_(s: S) -> S
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> ToSample<U> for T where
U: FromSample<T>,
[src]
U: FromSample<T>,
fn to_sample_(self) -> U
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,