[−][src]Trait minutiae::universe::Universe
Required Methods
fn get_cell(&self, coord: usize) -> Option<Cow<Cell<C>>>
unsafe fn get_cell_unchecked(&self, coord: usize) -> Cow<Cell<C>>
fn set_cell(&mut self, coord: usize, new_state: C)
fn set_cell_unchecked(&mut self, coord: usize, new_state: C)
fn get_entities<'a>(&'a self) -> &'a EntityContainer<C, E, M>
fn get_entities_mut<'a>(&'a mut self) -> &'a mut EntityContainer<C, E, M>
fn get_cells<'a>(&'a self) -> &'a [Cell<C>]
fn get_cells_mut<'a>(&'a mut self) -> &'a mut [Cell<C>]
fn empty() -> Self
Implementors
impl<C: CellState, E: EntityState<C>, M: MutEntityState> Universe<C, E, M> for Universe2D<C, E, M>
[src]
impl<C: CellState, E: EntityState<C>, M: MutEntityState> Universe<C, E, M> for Universe2D<C, E, M>
fn get_cell(&self, coord: usize) -> Option<Cow<Cell<C>>>
[src]
fn get_cell(&self, coord: usize) -> Option<Cow<Cell<C>>>
unsafe fn get_cell_unchecked(&self, coord: usize) -> Cow<Cell<C>>
[src]
unsafe fn get_cell_unchecked(&self, coord: usize) -> Cow<Cell<C>>
fn set_cell(&mut self, coord: usize, new_state: C)
[src]
fn set_cell(&mut self, coord: usize, new_state: C)
fn set_cell_unchecked(&mut self, coord: usize, new_state: C)
[src]
fn set_cell_unchecked(&mut self, coord: usize, new_state: C)
fn get_entities<'a>(&'a self) -> &'a EntityContainer<C, E, M>
[src]
fn get_entities<'a>(&'a self) -> &'a EntityContainer<C, E, M>
fn get_entities_mut<'a>(&'a mut self) -> &'a mut EntityContainer<C, E, M>
[src]
fn get_entities_mut<'a>(&'a mut self) -> &'a mut EntityContainer<C, E, M>
fn get_cells<'a>(&'a self) -> &'a [Cell<C>]
[src]
fn get_cells<'a>(&'a self) -> &'a [Cell<C>]
fn get_cells_mut<'a>(&'a mut self) -> &'a mut [Cell<C>]
[src]
fn get_cells_mut<'a>(&'a mut self) -> &'a mut [Cell<C>]
fn empty() -> Self
[src]
fn empty() -> Self