Skip to content

Commit 4553e9c

Browse files
authored
add any module directory (#24)
* add any module directory anyモジュールのディレクトリとaboutを作成 * add any/about.md anyモジュールのabout.mdを追加 * fix typo * 表現の修正 21行目、再現から模倣へ * fix any module description 動的型付けを型消去という表現に変更
1 parent b6eb8e5 commit 4553e9c

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

src/any/about.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# モジュール `std::vec`
2+
3+
## バージョン
4+
5+
Rust 1.0.0 ~
6+
7+
## 概要
8+
9+
型消去と型リフレクションに関する機能を提供する。
10+
11+
## 構造体
12+
13+
| 名前 | 説明 |
14+
| --- | --- |
15+
| `TypeId` | グローバルに一意な型の識別子を提供する |
16+
17+
## トレイト
18+
19+
| 名前 | 説明 |
20+
| --- | --- |
21+
| `Any` | 動的型付けを模倣する |
22+
23+
## 関数
24+
25+
| 名前 | 説明 |
26+
| --- | --- |
27+
| `type_name` | ジェネリクスに渡された型の名前を取得する |
28+
| `type_name_of_val` | 引数に渡された値の方の名前を取得する |
29+

0 commit comments

Comments
 (0)