pub enum CellState {
Dead,
Alive,
}Expand description
The state of a cell. In this case it is either dead or alive.
§Remarks
A cell has no concept of its neighbours. Everything in terms of space is handled by the Grid.
Variants§
Trait Implementations§
impl Copy for CellState
impl StructuralPartialEq for CellState
Auto Trait Implementations§
impl Freeze for CellState
impl RefUnwindSafe for CellState
impl Send for CellState
impl Sync for CellState
impl Unpin for CellState
impl UnwindSafe for CellState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more