pub struct ControlExpr<C, F> { /* private fields */ }Expand description
Container for complex control expressions that combines a set of Control variables with a closure that depends on the values of the control set.
Implementations§
Trait Implementations§
Source§impl<C: Clone, F: Clone> Clone for ControlExpr<C, F>
impl<C: Clone, F: Clone> Clone for ControlExpr<C, F>
Source§fn clone(&self) -> ControlExpr<C, F>
fn clone(&self) -> ControlExpr<C, F>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<C, F, R> Expr for ControlExpr<C, F>
impl<C, F, R> Expr for ControlExpr<C, F>
Source§impl<C, F> IntoFuture for ControlExpr<C, F>
impl<C, F> IntoFuture for ControlExpr<C, F>
Source§type IntoFuture = Until<C, F>
type IntoFuture = Until<C, F>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<C, F> Publisher for ControlExpr<C, F>where
C: Publisher,
impl<C, F> Publisher for ControlExpr<C, F>where
C: Publisher,
impl<C: Copy, F: Copy> Copy for ControlExpr<C, F>
Auto Trait Implementations§
impl<C, F> Freeze for ControlExpr<C, F>
impl<C, F> RefUnwindSafe for ControlExpr<C, F>where
C: RefUnwindSafe,
F: RefUnwindSafe,
impl<C, F> Send for ControlExpr<C, F>
impl<C, F> Sync for ControlExpr<C, F>
impl<C, F> Unpin for ControlExpr<C, F>
impl<C, F> UnwindSafe for ControlExpr<C, F>where
C: UnwindSafe,
F: 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