Struct dvcompute::simulation::event::Return [−][src]
pub struct Return<T> { /* fields omitted */ }
Expand description
Allows creating the Event
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.
Convert to the Process
computation.
Convert to the Composite
computation.
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.
Run the computation in the start time.
fn run_in_start_time_by(
self,
including_current_events: bool
) -> RunInStartTime<Self> where
Self: Sized,
fn run_in_start_time_by(
self,
including_current_events: bool
) -> RunInStartTime<Self> where
Self: Sized,
Run the computation in the start time by processing the current events or not.
Run the computation in the stop time.
fn run_in_stop_time_by(
self,
including_current_events: bool
) -> RunInStopTime<Self> where
Self: Sized,
fn run_in_stop_time_by(
self,
including_current_events: bool
) -> RunInStopTime<Self> where
Self: Sized,
Run the computation in the stop time by processing the current events or not.
Convert into a boxed value.
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