summaryrefslogtreecommitdiffstats
path: root/CLI/rust/src/game_of_life/universe.rs
blob: 83cb7d773d2dc6208cee5f8a22baaa253457139f (plain) (blame)
1
2
3
4
5
6
7
8
9
use crate::game_of_life::opts::Opts;

/// Game of Life universe struct for running simulations
#[derive(Debug, Clone, PartialEq)]
pub(crate) struct Universe {
    pub opts: Opts,
    pub current: Vec<Vec<bool>>,
    pub future: Vec<Vec<bool>>,
}