Type Alias fmodel_rust::EvolveFunction

source ·
pub type EvolveFunction<'a, S, E> = Box<dyn Fn(&S, &E) -> S + Send + Sync + 'a>;
Expand description

The EvolveFunction function is used to evolve the state based on the current state and the event.

Aliased Type§

struct EvolveFunction<'a, S, E>(/* private fields */);

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Box<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.