We go through many layers of indirection to support concrete methods on events, but I'm starting to think that the overhead and maintenance burden is not worth it, and that we can mostly solve the discoverability problem either through docs or clever foreign impls.
For example, we stuff dyn HasMouseData inside a MouseData inside an event via Rc which is quite a lot of cruft to wade through.
In reality, I'd like to be able to simply jump to the trait and get its methods rather than dig through 3-4 levels of indirection.
Feature Request
We go through many layers of indirection to support concrete methods on events, but I'm starting to think that the overhead and maintenance burden is not worth it, and that we can mostly solve the discoverability problem either through docs or clever foreign impls.
For example, we stuff dyn HasMouseData inside a MouseData inside an event via Rc which is quite a lot of cruft to wade through.
In reality, I'd like to be able to simply jump to the trait and get its methods rather than dig through 3-4 levels of indirection.