[][src]Trait minutiae::engine::Engine

pub trait Engine<C: CellState, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, U: Universe<C, E, M>> {
    fn step(&mut self, _: &mut U);
}

Required Methods

The main function of the simulation process. This is called repeatedly to drive progress in the simulation.

Implementations on Foreign Types

impl<C: CellState + 'static, E: EntityState<C>, M: MutEntityState, CA: CellAction<C>, EA: EntityAction<C, E>, EI: EntityIterator<C, E, M>, U: Universe<C, E, M>> Engine<C, E, M, CA, EA, U> for Box<dyn SerialEngine<C, E, M, CA, EA, EI, U>>
[src]

Implementors