Monadic Cat Stuff personal blog
Nibbles of Rust – Restructuring Patterns
In Rust, there is this feature known as “pattern matching”, whereby you can take apart a piece of structured data by writing out patterns which bind to parts of it. This process is known as “destructuring”, because you’re breaking a structure into parts.
- Points
- 123
- HN comments
- 29
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2023
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Apr 16, 2023 | Nibbles of Rust – Restructuring Patterns by g0xA52A2A | 123 | 29 |