A Pleasing Symmetry in Rust : how enums and structs mirror each other

A Pleasing Symmetry in Rust — Sympolymathesy, by Chris Krycho.
Appreciating how Rust enum variants are mirrors of its kinds of structs.

Read in full here:

This thread was posted by one of our members via one of our news source trackers.

Corresponding tweet for this thread:

Share link for this tweet.