module
A named section of a crate that groups related code and controls what is visible outside it.
A module is a namespace inside a crate, declared with mod; it contains items (functions, types, other modules) and is the unit of Rust's privacy rules.
Loading interactive…
See also