{"categories":["Swift"],"title":"123\u65e5\u76ee ","blog_url":"https://giarrium.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/gurrium/","provider_name":"Hatena Blog","published":"2021-10-18 19:53:44","author_name":"gurrium","type":"rich","description":"\u65e5\u8a18 \u51ac\u304c\u4e00\u756a\u597d\u304d \u4eca\u65e5\u66f8\u3044\u305f\u30b3\u30fc\u30c9 struct SomeSpecialID: Equatable, ExpressibleByStringLiteral { let value: String init(stringLiteral value: String) { self.value = value } } enum Other: SomeSpecialID { case a, b, c } print(Other.a.rawValue) \u611f\u60f3 In particular, the raw-value type must conform to the Equatable protocol\u2026","image_url":null,"height":"190","provider_url":"https://hatena.blog","url":"https://giarrium.hatenablog.com/entry/2021/10/18/195344","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgiarrium.hatenablog.com%2Fentry%2F2021%2F10%2F18%2F195344\" title=\"123\u65e5\u76ee  - \u305c\u306e\u305c\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","blog_title":"\u305c\u306e\u305c"}