pub(crate) fn states_to_instanceless_dyn<S: IState + MaybeSend + MaybeSync + 'static>(
state_gen: StateGenerator<S>,
) -> StateGenerator<Box<dyn IState + Send + Sync + 'static>>
pub(crate) fn states_to_instanceless_dyn<S: IState + MaybeSend + MaybeSync + 'static>(
state_gen: StateGenerator<S>,
) -> StateGenerator<Box<dyn IState + Send + Sync + 'static>>