Skip to content

Visibility practice problems in Rust

Difficulty:
Category:
Tag:

Showing 4 of 4

Status Title Difficulty
Everything is private by default: the two privacy rules Easy
pub use re-exports and the facade pattern Hard
Restricted visibility: pub(crate), pub(super), pub(in path) Medium
Sealed traits: public to use, closed to implement Medium