pub fn simulation_step_parallel<M>(&mut self)
    where
        M: Simulate<S>,
    {
        let states = self.simulate_states_parallel::<M>();
        for (id, state) in states {
            self.spaces.get_mut(&id).unwrap().apply_state(state);
        }
    }
/// Does the same as `simulation_step()` but in parallel manner (it may or may not increase
/// simulation performance if simulation is very complex).
Does the same as `simulation_step()` but in parallel manner (it may or may not increase
simulation performance if simulation is very complex).
Does the same as ` simulation_step () ` but in parallel manner ( it may or may not increase simulation performance if simulation is very complex ) .
pub fn simulation_step_parallel<M>(&mut self)
    where
        M: Simulate<S>,
    {
        let states = self.simulate_states_parallel::<M>();
        for (id, state) in states {
            self.spaces.get_mut(&id).unwrap().apply_state(state);
        }
    }
pub fn simulation_step_parallel < M > ( & mut self ) where M : Simulate < S > , { let states = self . simulate_states_parallel :: < M > ( ) ; for ( id , state ) in states { self . spaces . get_mut ( & id ) . unwrap ( ) . apply_state ( state ) ; } }
Does the same as `simulation_step()` but in parallel manner (it may or may not increase
simulation performance if simulation is very complex).
Does the same as ` simulation_step () ` but in parallel manner ( it may or may not increase simulation performance if simulation is very complex ) .
&mut self
&mut self