I still find it tricky in Rust to delegate methods from one struct into another internal struct. The delegate crate seems alright, but it feels like this is a thing that could use a solution at the language level. People have suggested looking into Julia. Maybe we should?
I think this is different from the "delegate stuff" in the post above. If I recall correctly this is about sealed/sealing structs. Related, but different. Wish there would be some good solutions for this too though; right now it's going to require a lot of boilerplate :(
-
-
Heh, funny enough there _is_ a delegate crate out there that seems to tick all boxes. Think I'll try & use this to create an internal / external type :D https://github.com/chancancode/rust-delegate …
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
