]>
Commit | Line | Data |
---|---|---|
2c00a5a8 XL |
1 | # Modules |
2 | ||
3 | Rust provides a powerful module system that can be used to hierarchically split | |
4 | code in logical units (modules), and manage visibility (public/private) between | |
5 | them. | |
6 | ||
7 | A module is a collection of items: functions, structs, traits, `impl` blocks, | |
8 | and even other modules. |