Struct gridsim::Grid [] [src]

pub struct Grid<S: Sim> { /* fields omitted */ }

Represents the state of the simulation.

This is not as efficient for Rule and is optimized for Sim.

Methods

impl<S: Sim> Grid<S>
[src]

[src]

Make a new grid using the Cell's Default impl.

[src]

Make a new grid by cloning a default Cell.

[src]

Make a new grid directly from an initial iter.

[src]

Run the Grid for one cycle.

[src]

Get the Grid's Cell slice.

[src]

Get the Grid's Cell slice mutably.

[src]

Get the Grid's size.