Comment Comment by tristan123456 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/ parent tristan123456 4 years ago
https://docs.rs/enum_dispatch/latest/enum_dispatch/