Question for @rustlang folks: is it impossible to use pub(crate) to emulate abstract classes? I've used facade modules successfully for it.
-
-
So the problem is that other modules in the *crate* need access. I can't just make it private to the parent module.
-
This is why I ended up with two parallel hierarchies: the crate-internal one and the public one.
- 17 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
