エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
std::marker::PhantomData - Rust
pub struct PhantomData<T> where T: ?Sized;Expand description Zero-sized type used to mark things ... pub struct PhantomData<T> where T: ?Sized;Expand description Zero-sized type used to mark things that “act like” they own a T. Adding a PhantomData<T> field to your type tells the compiler that your type acts as though it stores a value of type T, even though it doesn’t really. This information is used when computing certain safety properties. For a more in-depth explanation of how to use PhantomD
2018/01/31 リンク