pub(crate) fn box_up_state( state: impl IState + 'static, ) -> Box<dyn IState + Send + Sync + 'static>
Not sure why I couldn’t just directly call Box::new ins states_to_instanceless_dyn, but this fixed it.
Box::new
states_to_instanceless_dyn