1 2 3 4 5
use crate::app::MyApp; pub trait StateMutator: Send + std::fmt::Debug { fn mutate_state(self: Box<Self>, state: &mut MyApp); }