usestate::*;/// Trait that tells QDF how to simulate states of space.
pubtraitSimulate<S>
where
S: State,
{/// Performs simulation of state based on neighbor states.
////// # Arguments
/// * `state` - current state.
/// * `neighbor_states` - current neighbor states.
fnsimulate(state:&S, neighbor_states:&[&S])-> S;}impl<S>Simulate<S>for ()
where
S: State,
{fnsimulate(state:&S, _: &[&S])-> S{
state.clone()}}