エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
A definitive guide to sealed traits in Rust
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
A definitive guide to sealed traits in Rust
In fact, we'll see in a minute that even this isn't the full picture! Our choices can be even mor... In fact, we'll see in a minute that even this isn't the full picture! Our choices can be even more fine-grained than what we see above: It's possible to prevent calling only a subset of the trait's methods. It's possible to allow downstream code to implement a trait, while preventing those implementations from overriding some of the trait's methods. But first, what is a sealed trait, and why is se