SYMBOL INDEX (53 symbols across 7 files) FILE: src/asteroids.rs type AsteroidSize (line 3) | pub enum AsteroidSize { type Asteroid (line 10) | pub struct Asteroid { method new (line 22) | pub fn new(size: AsteroidSize, (WIDTH, HEIGHT): (f32, f32)) -> Self { method new_from (line 52) | pub fn new_from(pos: Vec2, vel: Vec2, size: AsteroidSize, (WIDTH, HEIG... method new_to (line 59) | pub fn new_to(pos: Vec2, speed: f32, size: AsteroidSize, (WIDTH, HEIGH... method check_collision (line 65) | pub fn check_collision(&self, pos: Vec2, rad: f32) -> bool { method update (line 70) | pub fn update(&mut self, (WIDTH, HEIGHT): (f32, f32)) { method draw (line 81) | pub fn draw(&self, color: Color) { FILE: src/main.rs function window_conf (line 21) | fn window_conf() -> Conf { function main (line 29) | async fn main() { FILE: src/nn.rs type ActivationFunc (line 9) | pub enum ActivationFunc { type NN (line 16) | pub struct NN { method new (line 25) | pub fn new(config: Vec, mut_rate: f32, activ: ActivationFunc) -... method crossover (line 51) | pub fn crossover(a: &NN, b: &NN) -> Self { method mutate (line 71) | pub fn mutate(&mut self) { method feed_forward (line 83) | pub fn feed_forward(&self, inputs: &Vec) -> Vec { method draw (line 98) | pub fn draw(&self, width: f32, height: f32, inputs: &Vec, outputs... method export (line 195) | pub fn export(&self) -> String { method import (line 199) | pub fn import(path: &str) -> NN { FILE: src/player.rs type Player (line 10) | pub struct Player { method new (line 32) | pub fn new( method check_player_collision (line 64) | pub fn check_player_collision(&mut self, asteroid: &Asteroid) -> bool { method check_bullet_collisions (line 109) | pub fn check_bullet_collisions(&mut self, asteroid: &mut Asteroid) -> ... method update (line 121) | pub fn update(&mut self, (WIDTH, HEIGHT): (f32, f32)) { method draw (line 212) | pub fn draw(&self, color: Color, debug: bool) { method draw_brain (line 257) | pub fn draw_brain(&self, width: f32, height: f32, bias: bool) { type Bullet (line 264) | struct Bullet { method update (line 271) | fn update(&mut self) { method draw (line 274) | fn draw(&self, c: Color) { FILE: src/population.rs type AutoSwitch (line 9) | pub enum AutoSwitch { type Population (line 15) | pub struct Population { method new (line 27) | pub fn new( method update (line 56) | pub fn update(&mut self, (WIDTH, HEIGHT): (f32, f32)) { method change_track (line 78) | pub fn change_track(&mut self, pos: Vec2) { method track_best (line 91) | pub fn track_best(&mut self, can_be_dead: bool) { method track_prev_best (line 105) | pub fn track_prev_best(&mut self) { method change_mut (line 111) | pub fn change_mut(&mut self, mut_rate: f32) { method change_activ (line 117) | pub fn change_activ(&mut self, activ: ActivationFunc) { method draw (line 123) | pub fn draw(&self, (WIDTH, HEIGHT, SWIDTH, SHEIGHT): (f32, f32, f32, f... method draw_borders (line 136) | pub fn draw_borders(&self, (WIDTH, HEIGHT, SWIDTH, SHEIGHT): (f32, f32... method next_gen (line 144) | pub fn next_gen(&mut self, (WIDTH, HEIGHT): (f32, f32)) { FILE: src/skins.rs function get_ui_skin (line 3) | pub fn get_ui_skin() -> Skin { function get_white_buttons_skin (line 89) | pub fn get_white_buttons_skin() -> Skin { function get_green_buttons_skin (line 121) | pub fn get_green_buttons_skin() -> Skin { FILE: src/world.rs type World (line 9) | pub struct World { method new (line 20) | pub fn new( method simulate (line 40) | pub fn simulate(brain: NN, (WIDTH, HEIGHT): (f32, f32)) -> Self { method track (line 47) | pub fn track(&mut self, track: bool) { method see_brain (line 56) | pub fn see_brain(&self) -> &NN { method export_brain (line 60) | pub fn export_brain(&self, path: &str) { method update (line 65) | pub fn update(&mut self, (WIDTH, HEIGHT): (f32, f32)) { method draw (line 133) | pub fn draw(&self, debug: bool) { method draw_stats (line 147) | pub fn draw_stats(&self, width: f32, height: f32, rank: usize) {