Not really related to the pointer thing, but Rust also has pattern matching based on Enums, as they're actually sum-types and not just numbers
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Not really related to the pointer thing, but Rust also has pattern matching based on Enums, as they're actually sum-types and not just numbers