We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Modules practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 10 of 10
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Build a module tree and inspect its paths | Easy | Primitives |
|
| Expose a small module API | Easy | Primitives |
|
| Model public item paths and re-exports | Hard | Framework |
|
| Module file layout: foo.rs, foo/mod.rs, and #[path] | Medium | Framework |
|
| Paths: absolute, relative, crate::, self::, super:: | Easy | Primitives |
|
| Protect rectangle invariants with private fields | Easy | Primitives |
|
| Resolve names in a simplified import model | Medium | Primitives |
|
| Restricted visibility: pub(crate), pub(super), pub(in path) | Medium | Primitives |
|
| Three namespaces: types, values, and macros | Medium | Primitives |
|
| use declarations: nested groups, as, self, and _ | Medium | Primitives |
|