Rust conventions
From wikinotes
Naming
Casing
struct Foo { ... } // types, enums, structs.. are CamelCase mod math_things { ... } // modules are snake_case fn do_thing() { ... } // functions are snake_case let user_name: &str = "vaderd"; // variables are snake_case
Spacing
4x spaces