Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/camjackson/conway_rs
/ functions
Functions
25 in github.com/camjackson/conway_rs
⨍
Functions
25
◇
Types & classes
4
↓ 7 callers
Method
update
(&mut self, alive_neighbours: usize)
src/cell.rs:10
↓ 6 callers
Function
new_cell
(alive: bool)
src/cell.rs:24
↓ 1 callers
Function
coords_to_index
(coords: (i16, i16), grid_width: i16, grid_height: i16)
src/grid.rs:48
↓ 1 callers
Function
geometry
(display: &Display)
src/square.rs:17
↓ 1 callers
Function
indices
(display: &Display)
src/square.rs:36
↓ 1 callers
Function
instances
(display: &Display, grid: &Vec<Cell>)
src/square.rs:47
↓ 1 callers
Function
named
(seed: &str)
src/seeds.rs:5
↓ 1 callers
Method
update
(&mut self)
src/grid.rs:34
↓ 1 callers
Function
vertices
(display: &Display)
src/square.rs:21
Function
gosper_glider
(x: i16, y: i16)
src/seeds.rs:17
Function
it_adds_one_width_for_each_row
()
src/grid.rs:75
Function
it_dies_if_alive_with_less_than_2_living_neighbours
()
src/cell.rs:29
Function
it_dies_if_alive_with_more_than_3_living_neighbours
()
src/cell.rs:36
Function
it_is_born_if_dead_with_exactly_3_living_neighbours
()
src/cell.rs:52
Function
it_lives_if_alive_with_2_or_3_living_neighbours
()
src/cell.rs:43
Function
it_returns_the_x_value_on_the_first_row
()
src/grid.rs:60
Function
it_stays_dead_if_dead_with_less_than_3_living_neighbours
()
src/cell.rs:59
Function
it_stays_dead_if_dead_with_more_than_3_living_neighbours
()
src/cell.rs:66
Function
it_wraps_overflowing_x_values
()
src/grid.rs:65
Function
it_wraps_overflowing_y_values
()
src/grid.rs:80
Function
it_wraps_underflowing_x_values
()
src/grid.rs:70
Function
it_wraps_underflowing_y_values
()
src/grid.rs:85
Function
main
()
src/main.rs:25
Method
new
(seed: Seed, width: i16, height: i16, square_size: f32)
src/grid.rs:10
Function
random
(_: i16, _: i16)
src/seeds.rs:13