So this is a thing I get confused about a lot.
I have a struct in a file and I want to import that struct into two different modules?
My file structure looks like this.
Player.rs
Mod1.rs
Mod2.rs
Main.rs
I want to have access to Player.rs from both Mod1 and Mod2? How do I do this? Seems it should be simple but rust seems to want me to put two copies of the same file into subdirectories for each module... but I just want it to point to the existing file that has the struct.
Am I missing something, I can't find any documentation on how to do this.