How do I import functions from subfolders in Rust
This gets into the Rust module system. I'll try my best to explain it, but the Book does a much better job, so if you're confused, go ahead and check it out here. Basically, each file in Rust (besides main.rs or lib.rs) corresponds to one module in a crate (main.rs and lib.rs are the crate's root).
https://stackoverflow.com/questions/67426976/how-do-i-import-functions-from-subfolders-in-rust