3 ms·
> That's exactly the right solution to your problem. It's not a workaround. It is what you need Yep, I agree! To clarify, the issue for me isn't having to use
by saghm 6y ago
> That's exactly the right solution to your problem. It's not a workaround. It is what you need
Yep, I agree! To clarify, the issue for me isn't having to use trait objects like this, it's the ergonomic issues that my parent comment brought up, e.g. not being able to require `EventHandler: Clone`. I'm not opposed to trait objects themselves; I just wish they were easier to use.