pub struct Sequence<I, M> { /* private fields */ }Expand description
The sequence of computations.
Trait Implementations§
Source§impl<I, M> Event for Sequence<I, M>
impl<I, M> Event for Sequence<I, M>
Source§type Item = Vec<<M as Event>::Item>
type Item = Vec<<M as Event>::Item>
The type of the item that is returned in the current modeling time.
Source§fn into_process(self) -> EventIntoProcess<Self>where
Self: Sized,
fn into_process(self) -> EventIntoProcess<Self>where
Self: Sized,
Convert to the
Process computation.Source§fn into_composite(self) -> EventIntoComposite<Self>where
Self: Sized,
fn into_composite(self) -> EventIntoComposite<Self>where
Self: Sized,
Convert to the
Composite computation.Source§fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
Bind the current computation with its continuation within the resulting computation.
Source§fn map<B, F>(self, f: F) -> Map<Self, B, F>
fn map<B, F>(self, f: F) -> Map<Self, B, F>
Map the current computation using the specified transform.
Source§fn zip<U>(self, other: U) -> Zip<Self, U>
fn zip<U>(self, other: U) -> Zip<Self, U>
Zip the current computation with another one within the resulting computation.
Source§fn run_in_start_time(self) -> RunInStartTime<Self>where
Self: Sized,
fn run_in_start_time(self) -> RunInStartTime<Self>where
Self: Sized,
Run the computation in the start time.
Source§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.
Source§fn run_in_stop_time(self) -> RunInStopTime<Self>where
Self: Sized,
fn run_in_stop_time(self) -> RunInStopTime<Self>where
Self: Sized,
Run the computation in the stop time.
Source§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.
Auto Trait Implementations§
impl<I, M> Freeze for Sequence<I, M>where
I: Freeze,
impl<I, M> RefUnwindSafe for Sequence<I, M>where
I: RefUnwindSafe,
M: RefUnwindSafe,
impl<I, M> Send for Sequence<I, M>
impl<I, M> Sync for Sequence<I, M>
impl<I, M> Unpin for Sequence<I, M>
impl<I, M> UnwindSafe for Sequence<I, M>where
I: UnwindSafe,
M: 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