Type Alias TransitionFunction

Source
pub type TransitionFunction<T, I> = fn(AliveElementsPart<'_, T, I>, usize) -> T;
Expand description

A type that represents the transition function. The first parameter is the alive elements part of the sequence, and the second is the index of the current element in generation.