Struct ca_formats::CellData [−][src]
pub struct CellData {
pub position: Coordinates,
pub state: u8,
}Expand description
Position and state of a cell.
Rules with more than 256 states are not supported.
Fields
position: CoordinatesCoordinates of the cell.
state: u8State of the cell.
For rules with only 2 states, 0 means dead and 1 means alive.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CellDataimpl UnwindSafe for CellDataBlanket Implementations
Mutably borrows from an owned value. Read more