Struct dvcompute::simulation::observable::observer::Cons [−][src]
pub struct Cons<F, M, T> { /* fields omitted */ }
Expand description
Allows constructing the Observer
computation by the specified function.
Trait Implementations
type Message = M
type Message = M
The outer message that the observer reacts to.
type Item = T
type Item = T
The type of the item that the computation returns.
Bind the current computation with its continuation within the resulting computation.
Map the current computation using the specified transform.
Zip the current computation with another one within the resulting computation.
The function application.
Convert into a boxed value.
Auto Trait Implementations
impl<F, M, T> RefUnwindSafe for Cons<F, M, T> where
F: RefUnwindSafe,
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, M, T> UnwindSafe for Cons<F, M, T> where
F: UnwindSafe,
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Observer = M
type Observer = M
The target computation.
Convert to the Observer
computation.