Trait minutae::engine::Engine
[−]
[src]
pub trait Engine<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>> { fn step(&mut self, _: &mut Universe<C, E, M, CA, EA>); }
Required Methods
fn step(&mut self, _: &mut Universe<C, E, M, CA, EA>)
The main function of the simulation process. This is called repeatedly to drive progress in the simulation and
Implementors
impl<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, CI: GridIterator, EI: EntityIterator<C, E, M>> Engine<C, E, M, CA, EA> for Box<SerialEngine<C, E, M, CA, EA, CI, EI>>
impl<C: CellState + 'static, E: EntityState<C> + 'static, M: MutEntityState + 'static, CA: CellAction<C> + 'static, EA: EntityAction<C, E> + 'static, CI: GridIterator> Engine<C, E, M, CA, EA> for Box<ParallelEngine<C, E, M, CA, EA, CI>> where
C: Send,
E: Send,
M: Send,
CA: Send,
EA: Send,
CA: Debug,
EA: Debug,
C: Debug,
E: Debug,