pub struct SimulationIntoProcess<M> { /* private fields */ }Expand description
Allows converting to the Process computation.
Trait Implementations§
Source§impl<M: Clone> Clone for SimulationIntoProcess<M>
impl<M: Clone> Clone for SimulationIntoProcess<M>
Source§fn clone(&self) -> SimulationIntoProcess<M>
fn clone(&self) -> SimulationIntoProcess<M>
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<M> Process for SimulationIntoProcess<M>where
M: Simulation,
impl<M> Process for SimulationIntoProcess<M>where
M: Simulation,
Source§type Item = <M as Simulation>::Item
type Item = <M as Simulation>::Item
The type of the item that is used within the 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 finally<U>(self, finalization: U) -> Finally<Self, U>
fn finally<U>(self, finalization: U) -> Finally<Self, U>
Finalize the current computation regardless of canceling it or not.
Source§fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
fn run_using_id(self, pid: Grc<ProcessId>) -> Run<Self>
Run the
Process computation using the specified process identifier.Source§fn into_boxed(self) -> ProcessBox<Self::Item>where
Self: Sized + 'static,
fn into_boxed(self) -> ProcessBox<Self::Item>where
Self: Sized + 'static,
Convert into a boxed value.
Auto Trait Implementations§
impl<M> Freeze for SimulationIntoProcess<M>where
M: Freeze,
impl<M> RefUnwindSafe for SimulationIntoProcess<M>where
M: RefUnwindSafe,
impl<M> Send for SimulationIntoProcess<M>where
M: Send,
impl<M> Sync for SimulationIntoProcess<M>where
M: Sync,
impl<M> Unpin for SimulationIntoProcess<M>where
M: Unpin,
impl<M> UnwindSafe for SimulationIntoProcess<M>where
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