News for hackers. Stuff that matters.
Re:Rust for JavaScript Developers – Pattern Matching and Enums by Dowwie on Sunday July 12, 2020 @01:54PM (#23813231)
What I'm referring to are fields that must be one of the expected values. It seems like you're talking about a scenario that doesn't meet that criteria. One of five values or null is simply an Option<MyEnum>.

There are no comments on this comment yet.