Struct dvcompute::simulation::composite::Return [−][src]
pub struct Return<T> { /* fields omitted */ }
Expand description
Allows creating the Composite
computation from a pure value.
Trait Implementations
type Item = T
type Item = T
The type of the item that is returned in the current modeling time.
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.
Run the computation by the specified initial Disposable
object.
Auto Trait Implementations
impl<T> RefUnwindSafe for Return<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Return<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Composite = M
type Composite = M
The target computation.
Convert to the Composite
computation.