pub struct DummyCellularAutomata<'a> { /* private fields */ }
Expand description

DummyCellularAutomata is just a dummy cellular automata, which simply prints “It works!”

Trait Implementations

Function run runs the cellular automata
Function new creates a new, empty cellular automata
Function input_handler takes the grid and a reader and modifies the grid according to what it reads. The printer argument is there just so the automata can prompt the user (if needed)
Function output_handler takes a grid and a printer and prints out something, according to the data of the grid.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.