SYMBOL INDEX (91 symbols across 12 files) FILE: examples/fountain.rs function main (line 23) | fn main() -> Result<()> { function gen_fountain_firework (line 74) | fn gen_fountain_firework(center: Vec2) -> Firework { function gradient (line 113) | fn gradient(x: f32) -> f32 { FILE: examples/heart.rs function main (line 23) | fn main() -> Result<()> { function gen_heart_firework (line 74) | fn gen_heart_firework(center: Vec2) -> Firework { function gradient (line 120) | fn gradient(x: f32) -> f32 { FILE: examples/vortex.rs function main (line 22) | fn main() -> Result<()> { function gen_vortex_firework (line 73) | fn gen_vortex_firework(center: Vec2) -> Firework { function gradient (line 114) | fn gradient(x: f32) -> f32 { FILE: src/bin/firework/args.rs type Cli (line 6) | pub struct Cli { FILE: src/bin/firework/gen.rs function dyn_gen (line 7) | pub fn dyn_gen( FILE: src/bin/firework/main.rs function main (line 31) | fn main() -> Result<()> { FILE: src/config.rs type Config (line 3) | pub struct Config { FILE: src/demo.rs function demo_firework_0 (line 22) | pub fn demo_firework_0( function demo_firework_1 (line 60) | pub fn demo_firework_1(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_2 (line 89) | pub fn demo_firework_2(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_3 (line 116) | pub fn demo_firework_3(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_4 (line 148) | pub fn demo_firework_4(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_5 (line 174) | pub fn demo_firework_5(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_6 (line 200) | pub fn demo_firework_6(center: Vec2, spawn_after: Duration, enable_gradi... function demo_firework_comb_1 (line 227) | pub fn demo_firework_comb_1( function demo_firework_comb_0 (line 290) | pub fn demo_firework_comb_0( function demo_firework_comb_2 (line 320) | pub fn demo_firework_comb_2( function demo_firework_comb_3 (line 445) | pub fn demo_firework_comb_3( FILE: src/fireworks.rs type Firework (line 14) | pub struct Firework { method update (line 51) | pub fn update(&mut self, now: SystemTime, delta_time: Duration) { method is_gone (line 133) | pub fn is_gone(&self) -> bool { method reset (line 138) | pub fn reset(&mut self) { method default (line 29) | fn default() -> Self { type FireworkState (line 163) | pub enum FireworkState { type ExplosionForm (line 172) | pub enum ExplosionForm { type FireworkConfig (line 188) | pub struct FireworkConfig { method with_gradient_scale (line 226) | pub fn with_gradient_scale(mut self, f: fn(f32) -> f32) -> Self { method with_gravity_scale (line 234) | pub fn with_gravity_scale(mut self, s: f32) -> Self { method with_ar_scale (line 242) | pub fn with_ar_scale(mut self, s: f32) -> Self { method with_additional_force (line 250) | pub fn with_additional_force(mut self, af: impl Fn(&Particle) -> Vec2 ... method set_enable_gradient (line 256) | pub fn set_enable_gradient(&mut self, enable_gradient: bool) { method default (line 211) | fn default() -> Self { type FireworkManager (line 262) | pub struct FireworkManager { method new (line 282) | pub fn new(fireworks: Vec) -> Self { method add_firework (line 291) | pub fn add_firework(&mut self, firework: Firework) { method add_fireworks (line 296) | pub fn add_fireworks(&mut self, mut fireworks: Vec) { method with_firework (line 303) | pub fn with_firework(mut self, firework: Firework) -> Self { method with_fireworks (line 311) | pub fn with_fireworks(mut self, mut fireworks: Vec) -> Self { method enable_loop (line 319) | pub fn enable_loop(mut self) -> Self { method disable_loop (line 327) | pub fn disable_loop(mut self) -> Self { method reset (line 333) | pub fn reset(&mut self) { method set_enable_loop (line 339) | pub fn set_enable_loop(&mut self, enable_loop: bool) { method update (line 344) | pub fn update(&mut self, now: SystemTime, delta_time: Duration) { method enable_dyn_install (line 360) | pub fn enable_dyn_install(mut self) -> Self { method default (line 271) | fn default() -> Self { type FireworkInstallForm (line 374) | pub enum FireworkInstallForm { function init_trail (line 379) | fn init_trail(init_pos: Vec2, n: usize) -> VecDeque { FILE: src/particle.rs type LifeState (line 13) | pub enum LifeState { type Particle (line 22) | pub struct Particle { method new (line 48) | pub fn new( method is_dead (line 68) | pub fn is_dead(&self) -> bool { method reset (line 73) | pub fn reset(&mut self) { method update (line 86) | pub fn update(&mut self, duration: Duration, config: &FireworkConfig) { method default (line 34) | fn default() -> Self { type ParticleConfig (line 106) | pub struct ParticleConfig { method new (line 130) | pub fn new( method default (line 117) | fn default() -> Self { function cal_life_state (line 147) | fn cal_life_state(life_time: Duration, current_elapsed: Duration) -> Lif... FILE: src/term.rs type Char (line 18) | pub struct Char { method new (line 26) | fn new(text: char, color: style::Color) -> Self { type Terminal (line 32) | pub struct Terminal { method new (line 55) | pub fn new(cfg: &Config) -> Self { method reinit (line 74) | pub fn reinit(&mut self, cfg: &Config) { method clear_screen (line 93) | pub fn clear_screen(&mut self) { method print (line 108) | pub fn print(&self, w: &mut Stdout, cfg: &Config) { method render (line 131) | pub fn render(&mut self, fm: &FireworkManager, cfg: &Config) { method inside (line 201) | fn inside(&self, (x, y): (isize, isize)) -> bool { method default (line 38) | fn default() -> Self { function construct_line (line 206) | fn construct_line(a: Vec2, b: Vec2) -> Vec<(isize, isize)> { function shift_gradient (line 252) | fn shift_gradient(color: (u8, u8, u8), scale: f32) -> (u8, u8, u8) { function get_char_alive (line 260) | fn get_char_alive(density: f32, cjk: bool) -> char { function get_char_declining (line 293) | fn get_char_declining(density: f32, cjk: bool) -> char { function get_char_dying (line 326) | fn get_char_dying(density: f32, cjk: bool) -> char { FILE: src/utils.rs function round (line 10) | pub fn round(input: Vec2) -> (isize, isize) { function gen_points_circle (line 15) | pub fn gen_points_circle(radius: isize, n: usize) -> Vec { function gen_points_circle_normal (line 30) | pub fn gen_points_circle_normal(radius: f32, n: usize) -> Vec { function gen_points_circle_normal_dev (line 55) | pub fn gen_points_circle_normal_dev(radius: f32, n: usize, std_dev: f32)... function gen_points_fan (line 77) | pub fn gen_points_fan(radius: f32, n: usize, st_angle: f32, ed_angle: f3... function gen_points_arc (line 91) | pub fn gen_points_arc(radius: f32, n: usize, st_angle: f32, ed_angle: f3... function gen_points_on_circle (line 101) | pub fn gen_points_on_circle(radius: f32, n: usize) -> Vec { function distance_squared (line 111) | pub fn distance_squared(a: Vec2, b: Vec2) -> f32 { function explosion_gradient_1 (line 118) | pub fn explosion_gradient_1(x: f32) -> f32 { function explosion_gradient_2 (line 129) | pub fn explosion_gradient_2(x: f32) -> f32 { function explosion_gradient_3 (line 146) | pub fn explosion_gradient_3(x: f32) -> f32 { function linear_gradient_1 (line 157) | pub fn linear_gradient_1(x: f32) -> f32 {