Re:Generics and Compile-Time in Rust
by saghm on Tuesday June 16, 2020 @11:53AM
(#23540634)
Nothing is wrong with `Vec<Box<dyn EventHandler>>` itself; the issues are around the ergonomics of using trait objects in general (e.g. with regards to requiring that types that implement EventHandler also implement Clone, as mentioned in the parent comment).
[ Parent
| on HN ]
There are no comments on this comment yet.