{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreig2jpnmiiaok3rmfxhhewqgvvifnfzy375e4uz2nzjv3decvgmada",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mg6tghdgppx2"
  },
  "path": "/t/f-pattern-types-subsets-enums-using-as/24048#post_14",
  "publishedAt": "2026-03-03T08:48:48.000Z",
  "site": "https://internals.rust-lang.org",
  "tags": [
    "types as enum variants"
  ],
  "textContent": "I believe types as enum variants would solve this use case with \"just\" some syntactic sugar.",
  "title": "F-pattern_types : Subsets enums using as"
}