The Rust Programming Language Forum
How to eliminate boilterplate pattern matching with same branches?
moy2010
October 17, 2022, 8:54am
4
Maybe this topic is what you are looking for?
Auto generate .as_XYZ for enum - #3 by moy2010
show post in topic
Related Topics
Topic
Replies
Views
Activity
Best practices to use pattern match with Enum?
help
4
560
August 25, 2022
Polymorphism for enum
help
20
1960
January 12, 2023
Can I use traits to simplify enum matcher implementations?
code review
4
609
April 13, 2021
Applying function to all enum variants
7
9316
January 12, 2023
Match enumerates of same struct with different generic
help
4
1289
November 11, 2019