1
2
3
4
5
6
7
8
9
use std::fmt::Debug;

pub trait Action: Debug + Send + Sync + 'static { }

pub trait Update {
    type Action: Action;

    fn update(&mut self, action: &Self::Action);
}