[−][src]Struct dasp::signal::BranchRcB
One of the two Branch
signals returned by Fork::by_rc
.
Implementations
impl<S, D> BranchRcB<S, D> where
D: Slice,
<D as Slice>::Element: Copy,
[src]
D: Slice,
<D as Slice>::Element: Copy,
pub fn pending_frames(&self) -> usize
[src]
The number of frames that are pending collection by this branch.
Trait Implementations
impl<S, D> Signal for BranchRcB<S, D> where
D: SliceMut<Element = <S as Signal>::Frame>,
S: Signal,
[src]
D: SliceMut<Element = <S as Signal>::Frame>,
S: Signal,
type Frame = <S as Signal>::Frame
The Frame
type returned by the Signal
.
fn next(&mut self) -> <BranchRcB<S, D> as Signal>::Frame
[src]
fn is_exhausted(&self) -> bool
[src]
fn map<M, F>(self, map: M) -> Map<Self, M, F> where
F: Frame,
M: FnMut(Self::Frame) -> F,
[src]
F: Frame,
M: FnMut(Self::Frame) -> F,
fn zip_map<O, M, F>(self, other: O, map: M) -> ZipMap<Self, O, M, F> where
F: Frame,
M: FnMut(Self::Frame, <O as Signal>::Frame) -> F,
O: Signal,
[src]
F: Frame,
M: FnMut(Self::Frame, <O as Signal>::Frame) -> F,
O: Signal,
fn add_amp<S>(self, other: S) -> AddAmp<Self, S> where
S: Signal,
<S as Signal>::Frame: Frame,
<<S as Signal>::Frame as Frame>::Sample == <<Self::Frame as Frame>::Sample as Sample>::Signed,
<<S as Signal>::Frame as Frame>::NumChannels == <Self::Frame as Frame>::NumChannels,
[src]
S: Signal,
<S as Signal>::Frame: Frame,
<<S as Signal>::Frame as Frame>::Sample == <<Self::Frame as Frame>::Sample as Sample>::Signed,
<<S as Signal>::Frame as Frame>::NumChannels == <Self::Frame as Frame>::NumChannels,
fn mul_amp<S>(self, other: S) -> MulAmp<Self, S> where
S: Signal,
<S as Signal>::Frame: Frame,
<<S as Signal>::Frame as Frame>::Sample == <<Self::Frame as Frame>::Sample as Sample>::Float,
<<S as Signal>::Frame as Frame>::NumChannels == <Self::Frame as Frame>::NumChannels,
[src]
S: Signal,
<S as Signal>::Frame: Frame,
<<S as Signal>::Frame as Frame>::Sample == <<Self::Frame as Frame>::Sample as Sample>::Float,
<<S as Signal>::Frame as Frame>::NumChannels == <Self::Frame as Frame>::NumChannels,
fn offset_amp(
self,
offset: <<Self::Frame as Frame>::Sample as Sample>::Signed
) -> OffsetAmp<Self>
[src]
self,
offset: <<Self::Frame as Frame>::Sample as Sample>::Signed
) -> OffsetAmp<Self>
fn scale_amp(
self,
amp: <<Self::Frame as Frame>::Sample as Sample>::Float
) -> ScaleAmp<Self>
[src]
self,
amp: <<Self::Frame as Frame>::Sample as Sample>::Float
) -> ScaleAmp<Self>
fn offset_amp_per_channel<F>(self, amp_frame: F) -> OffsetAmpPerChannel<Self, F> where
F: Frame<Sample = <<Self::Frame as Frame>::Sample as Sample>::Signed, NumChannels = <Self::Frame as Frame>::NumChannels>,
[src]
F: Frame<Sample = <<Self::Frame as Frame>::Sample as Sample>::Signed, NumChannels = <Self::Frame as Frame>::NumChannels>,
fn scale_amp_per_channel<F>(self, amp_frame: F) -> ScaleAmpPerChannel<Self, F> where
F: Frame<Sample = <<Self::Frame as Frame>::Sample as Sample>::Float, NumChannels = <Self::Frame as Frame>::NumChannels>,
[src]
F: Frame<Sample = <<Self::Frame as Frame>::Sample as Sample>::Float, NumChannels = <Self::Frame as Frame>::NumChannels>,
fn mul_hz<M, I>(self, interpolator: I, mul_per_frame: M) -> MulHz<Self, M, I> where
I: Interpolator,
M: Signal<Frame = f64>,
[src]
I: Interpolator,
M: Signal<Frame = f64>,
fn from_hz_to_hz<I>(
self,
interpolator: I,
source_hz: f64,
target_hz: f64
) -> Converter<Self, I> where
I: Interpolator,
[src]
self,
interpolator: I,
source_hz: f64,
target_hz: f64
) -> Converter<Self, I> where
I: Interpolator,
fn scale_hz<I>(self, interpolator: I, multi: f64) -> Converter<Self, I> where
I: Interpolator,
[src]
I: Interpolator,
fn delay(self, n_frames: usize) -> Delay<Self>
[src]
fn into_interleaved_samples(self) -> IntoInterleavedSamples<Self>
[src]
fn clip_amp(
self,
thresh: <<Self::Frame as Frame>::Sample as Sample>::Signed
) -> ClipAmp<Self>
[src]
self,
thresh: <<Self::Frame as Frame>::Sample as Sample>::Signed
) -> ClipAmp<Self>
fn inspect<F>(self, inspect: F) -> Inspect<Self, F> where
F: FnMut(&Self::Frame),
[src]
F: FnMut(&Self::Frame),
fn fork<S>(self, ring_buffer: Bounded<S>) -> Fork<Self, S> where
S: SliceMut<Element = Self::Frame>,
[src]
S: SliceMut<Element = Self::Frame>,
fn take(self, n: usize) -> Take<Self>
[src]
fn until_exhausted(self) -> UntilExhausted<Self>
[src]
fn buffered<S>(self, ring_buffer: Bounded<S>) -> Buffered<Self, S> where
S: Slice<Element = Self::Frame> + SliceMut,
[src]
S: Slice<Element = Self::Frame> + SliceMut,
fn by_ref(&mut self) -> &mut Self
[src]
Auto Trait Implementations
impl<S, D> !RefUnwindSafe for BranchRcB<S, D>
impl<S, D> !Send for BranchRcB<S, D>
impl<S, D> !Sync for BranchRcB<S, D>
impl<S, D> Unpin for BranchRcB<S, D>
impl<S, D> !UnwindSafe for BranchRcB<S, D>
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> SignalBus for T where
T: Signal,
[src]
T: Signal,
impl<T> SignalEnvelope for T where
T: Signal,
[src]
T: Signal,
fn detect_envelope<D>(
self,
detector: Detector<Self::Frame, D>
) -> DetectEnvelope<Self, D> where
D: Detect<Self::Frame>,
[src]
self,
detector: Detector<Self::Frame, D>
) -> DetectEnvelope<Self, D> where
D: Detect<Self::Frame>,
impl<T> SignalRms for T where
T: Signal,
[src]
T: Signal,
fn rms<S>(self, ring_buffer: Fixed<S>) -> Rms<Self, S> where
S: Slice<Element = <Self::Frame as Frame>::Float> + SliceMut,
[src]
S: Slice<Element = <Self::Frame as Frame>::Float> + SliceMut,
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>,