
Rust
Modules and Visibility in Rust Without the Confusion
Modules organize Rust code and control what is public. Learn mod, pub, use, super, self, file layout and why privacy is by module and not by type.
8 min read
Tag
1 post

Modules organize Rust code and control what is public. Learn mod, pub, use, super, self, file layout and why privacy is by module and not by type.