3 ms·
Yeah, a struct holding four different closures is not a pattern that makes much sense in Rust. That would look a lot better as a Trait with four methods.
by TheCoelacanth 6y ago
Yeah, a struct holding four different closures is not a pattern that makes much sense in Rust.
That would look a lot better as a Trait with four methods.