Skip to content

Files

Latest commit

 

History

History
8 lines (6 loc) · 280 Bytes

mod.md

File metadata and controls

8 lines (6 loc) · 280 Bytes

Modules

Rust provides a powerful module system that can be used to hierarchically split code in logical units (modules), and manage visibility (public/private) between them.

A module is a collection of items: functions, structs, traits, impl blocks, and even other modules.