[][src]Trait fsm_rust_jb::types::Effector

pub trait Effector<Effect> where
    Effect: Eq + PartialEq + Copy
{ pub fn dispatch(&mut self, effect: Effect); }

Generic type for executor of side effects applied to some persistent data

Required methods

pub fn dispatch(&mut self, effect: Effect)[src]

Applies side effect to mutate some data

Loading content...

Implementors

Loading content...