15
Patterns for Modeling Overlapping Variant Data in Rust
(mcmah309.github.io)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
seems to me he's trying to be more general than the
Search
example and considering that another complex project may actually have those problematic casesi mean, he doesn't even dismiss the patterns with code duplication, just lists it as a drawback, which agrees with his conclusion that there's no one-size-fits-all solution