1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// //! Simulate the growth of ferns, from the level of
// //! individual cells on up.
//
// #![warn(rust_2018_idioms)]
// #![allow(elided_lifetimes_in_paths)]
//
// pub mod plant_structures;
// pub mod simulation;
// pub mod spores;
//
// pub use plant_structures::Fern;
// pub use simulation::Terrarium;
//
// pub mod net;
// pub use net::connect;
// fn main() {
// let mut fern = Fern {
// size: 1.0,
// growth_rate: 0.001
// };
// run_simulation(&mut fern, 1000);
// println!("final fern size: {}", fern.size);
// }