pub struct Fanout<A, B> {
pub left: A,
pub right: B,
}Expand description
Fanout: splits a single input to two parallel processors
Fields§
§left: A§right: BTrait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for Fanout<A, B>
impl<A, B> RefUnwindSafe for Fanout<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Fanout<A, B>
impl<A, B> Sync for Fanout<A, B>
impl<A, B> Unpin for Fanout<A, B>
impl<A, B> UnsafeUnpin for Fanout<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Fanout<A, B>where
A: UnwindSafe,
B: 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
Source§impl<M> ModuleExt for Mwhere
M: Module,
impl<M> ModuleExt for Mwhere
M: Module,
Source§fn then<M: Module<In = Self::Out>>(self, next: M) -> Chain<Self, M>
fn then<M: Module<In = Self::Out>>(self, next: M) -> Chain<Self, M>
Chain this module with another (sequential composition:
>>>)Source§fn fanout<M: Module<In = Self::In>>(self, other: M) -> Fanout<Self, M>
fn fanout<M: Module<In = Self::In>>(self, other: M) -> Fanout<Self, M>
Split input to two parallel processors (
&&&)