[−][src]Trait gridsim::Rule
Defines a simulation for simple things like cellular automata.
Associated Types
Loading content...Required methods
fn rule(cell: Self::Cell, neighbors: Self::Neighbors) -> Self::Cell
This defines a rule for how a cell and its neighbors transform into a new cell.