blob: bba4a497714e4986624a8e9f5e82d2b9c8de11f5 [file] [log] [blame] [view] [edit]
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 like: functions, structs, traits, impl
blocks, and even other modules.
{mod.play}