File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,17 @@ Send と Sync は Rust の並行性の基本です。したがって、これら
43
43
これらのトレイトが、型を実装するものが持っているべき intrinsic の特性を持っているということを
44
44
単に意味します。 Send や Sync が正しく実装されていないと、未定義動作を引き起こします。
45
45
46
+ <!--
46
47
Send and Sync are also automatically derived traits. This means that, unlike
47
48
every other trait, if a type is composed entirely of Send or Sync types, then it
48
49
is Send or Sync. Almost all primitives are Send and Sync, and as a consequence
49
50
pretty much all types you'll ever interact with are Send and Sync.
51
+ -->
52
+
53
+ Send や Sync はまた、自動的に継承されるトレイトです。これはつまり、他のすべてのトレイトとは
54
+ 違い、もしある型が Send や Sync を実装している型だけで構成されている場合、その型は Send や
55
+ Sync を実装しています。ほとんどすべてのプリミティブ型は Send や Sync を実装しています。
56
+ そして結果的に、あなたが扱うかなり多くの型は、 Send や Sync を実装しています。
50
57
51
58
Major exceptions include:
52
59
You can’t perform that action at this time.
0 commit comments