pub struct Mux<P1, P2>(/* private fields */);
Expand description
Operator returns by mux
.
Trait Implementations§
source§impl<I, P1, P2> GatOperator<I> for Mux<P1, P2>where
I: Clone,
P1: GatOperator<I>,
P2: GatOperator<I>,
impl<I, P1, P2> GatOperator<I> for Mux<P1, P2>where I: Clone, P1: GatOperator<I>, P2: GatOperator<I>,
§type Output<'out> = (<P1 as GatOperator<I>>::Output<'out>, <P2 as GatOperator<I>>::Output<'out>)
where
I: 'out,
P1: 'out,
P2: 'out
type Output<'out> = (<P1 as GatOperator<I>>::Output<'out>, <P2 as GatOperator<I>>::Output<'out>) where I: 'out, P1: 'out, P2: 'out
The output type.
impl<P1: Copy, P2: Copy> Copy for Mux<P1, P2>
Auto Trait Implementations§
impl<P1, P2> RefUnwindSafe for Mux<P1, P2>where P1: RefUnwindSafe, P2: RefUnwindSafe,
impl<P1, P2> Send for Mux<P1, P2>where P1: Send, P2: Send,
impl<P1, P2> Sync for Mux<P1, P2>where P1: Sync, P2: Sync,
impl<P1, P2> Unpin for Mux<P1, P2>where P1: Unpin, P2: Unpin,
impl<P1, P2> UnwindSafe for Mux<P1, P2>where P1: UnwindSafe, P2: 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<I, P> GatOperatorExt<I> for Pwhere
P: GatOperator<I>,
impl<I, P> GatOperatorExt<I> for Pwhere P: GatOperator<I>,
source§fn then<P>(self, other: P) -> Then<Self, P>where
Self: Sized,
P: for<'out> GatOperator<Self::Output<'out>>,
fn then<P>(self, other: P) -> Then<Self, P>where Self: Sized, P: for<'out> GatOperator<Self::Output<'out>>,
Combine two operators. Read more
source§fn map<O, F>(self, f: F) -> Then<Self, Map<F>>where
Self: Sized,
F: FnMut(Self::Output<'_>) -> O,
fn map<O, F>(self, f: F) -> Then<Self, Map<F>>where Self: Sized, F: FnMut(Self::Output<'_>) -> O,
Convert the output. Read more
source§fn mux_with<P>(self, other: P) -> Mux<Self, P>where
I: Clone,
Self: Sized,
P: GatOperator<I>,
fn mux_with<P>(self, other: P) -> Mux<Self, P>where I: Clone, Self: Sized, P: GatOperator<I>,
Use with the other operator simultaneously. Read more
source§fn into_operator<O>(self) -> Op<Self>where
Self: for<'out> GatOperator<I, Output<'out> = O> + 'static + Sized,
I: 'static,
fn into_operator<O>(self) -> Op<Self>where Self: for<'out> GatOperator<I, Output<'out> = O> + 'static + Sized, I: 'static,
Convert into a non-GAT operator.