pub struct Stereo<X: Signal<Sample = Mono>, Y: Signal<Sample = Mono>>(pub X, pub Y);Expand description
Combines two smp::Mono signals into a smp::Stereo signal. One signal plays on each
channel.
Tuple Fields§
§0: X§1: YImplementations§
Trait Implementations§
Source§impl<X: Signal<Sample = Mono>, Y: Signal<Sample = Mono>> Signal for Stereo<X, Y>
impl<X: Signal<Sample = Mono>, Y: Signal<Sample = Mono>> Signal for Stereo<X, Y>
Source§fn _get(&self) -> Self::Sample
fn _get(&self) -> Self::Sample
Currently,
rust-analyzer trips up sometimes that get is called, confusing it with
Array::get. This hack bypasses this.Auto Trait Implementations§
impl<X, Y> Freeze for Stereo<X, Y>
impl<X, Y> RefUnwindSafe for Stereo<X, Y>where
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y> Send for Stereo<X, Y>
impl<X, Y> Sync for Stereo<X, Y>
impl<X, Y> Unpin for Stereo<X, Y>
impl<X, Y> UnwindSafe for Stereo<X, Y>where
X: UnwindSafe,
Y: UnwindSafe,
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