Struct dvcompute::simulation::simulation::ops::SimulationFn [−][src]
pub struct SimulationFn<T> { /* fields omitted */ }
Expand description
It represents the source of Simulation
computations.
Implementations
pub fn new<F, M>(f: F) -> Self where
F: Fn() -> M + 'static,
M: Simulation<Item = T> + 'static,
pub fn new<F, M>(f: F) -> Self where
F: Fn() -> M + 'static,
M: Simulation<Item = T> + 'static,
Create a new source of computations.
Get the next computation.
Trait Implementations
Auto Trait Implementations
impl<T> !RefUnwindSafe for SimulationFn<T>
impl<T> !Send for SimulationFn<T>
impl<T> !Sync for SimulationFn<T>
impl<T> Unpin for SimulationFn<T>
impl<T> !UnwindSafe for SimulationFn<T>
Blanket Implementations
Mutably borrows from an owned value. Read more