pub struct Cons<F, T> { /* private fields */ }Expand description
Allows constructing the Parameter computation by the specified function.
Trait Implementations§
Source§impl<F, T> Parameter for Cons<F, T>
impl<F, T> Parameter for Cons<F, T>
Source§fn into_simulation(self) -> ParameterIntoSimulation<Self>where
Self: Sized,
fn into_simulation(self) -> ParameterIntoSimulation<Self>where
Self: Sized,
Convert into the
Simulation computation.Source§fn into_event(self) -> ParameterIntoEvent<Self>where
Self: Sized,
fn into_event(self) -> ParameterIntoEvent<Self>where
Self: Sized,
Convert into the
Event computation.Source§fn into_process(self) -> ParameterIntoProcess<Self>where
Self: Sized,
fn into_process(self) -> ParameterIntoProcess<Self>where
Self: Sized,
Convert to the
Process computation.Source§fn into_composite(self) -> ParameterIntoComposite<Self>where
Self: Sized,
fn into_composite(self) -> ParameterIntoComposite<Self>where
Self: Sized,
Convert into 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 into_boxed(self) -> ParameterBox<Self::Item>
fn into_boxed(self) -> ParameterBox<Self::Item>
Convert into a boxed value.
Auto Trait Implementations§
impl<F, T> Freeze for Cons<F, T>where
F: Freeze,
impl<F, T> RefUnwindSafe for Cons<F, T>where
F: RefUnwindSafe,
T: RefUnwindSafe,
impl<F, T> Send for Cons<F, T>
impl<F, T> Sync for Cons<F, T>
impl<F, T> Unpin for Cons<F, T>
impl<F, T> UnwindSafe for Cons<F, T>where
F: UnwindSafe,
T: 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