pub type TransitionFunc<CellDataType> = dyn Fn(&mut CellDataType, &NeighborType<'_, CellDataType>);
Expand description

TransitionFunc is the transition function (AKA “rule”) of the cellular automata