pub fn new<I>(seed: I) -> Self
    where
        I: IntoIterator<Item = Index>,
    {
        Self {
            living: HashSet::from_iter(seed),
        }
    }
/// Creates a new grid with the given seed.
///
/// The seed is a collection of indices indictating the positions of living cells at the
/// beginning of time.
Creates a new grid with the given seed.
The seed is a collection of indices indictating the positions of living cells at the
beginning of time.
Creates a new grid with the given seed . The seed is a collection of indices indictating the positions of living cells at the beginning of time .
pub fn new<I>(seed: I) -> Self
    where
        I: IntoIterator<Item = Index>,
    {
        Self {
            living: HashSet::from_iter(seed),
        }
    }
pub fn new < I > ( seed : I ) -> Self where I : IntoIterator < Item = Index > , { Self { living : HashSet :: from_iter ( seed ) , } }
Creates a new grid with the given seed.
Creates a new grid with the given seed .
seed
I
seed
I