Re:Perils of Constructors
by fluffything on Saturday July 27, 2019 @05:08PM
(#20544209)
FWIW I disagree with the author in that, within the module that declares a struct you must follow a convention in Rust. You don't. You have full access to the struct private implementation details and can do whatever you want.
If you care about privacy, you'd just keep your modules small.
If you care about privacy, you'd just keep your modules small.