News for hackers. Stuff that matters.
Re:Three Kinds of Polymorphism in Rust by tristan123456 on Friday January 07, 2022 @06:26PM (#29846411)
Good article! If you want the performance of option four with less hassle, have a look at the enum_dispatch crate.

https://docs.rs/enum_dispatch/latest/enum_dispatch/

There are no comments on this comment yet.