Question for @rustlang folks: is it impossible to use pub(crate) to emulate abstract classes? I've used facade modules successfully for it.
It has to be, but you never export it from the outer module, so the world never sees it.
-
-
Hm, how you can have an inner pub trait that isn't exported from the crate? If the containing module is pub isn't it reachable?
-
Inner pub module I mean, sorrry
- 1 more reply
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.
