検索
Results of 1 - 5 of about 5 for types (0.013 sec.)
- Send and Sync 12777
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
verything obeys inherited mutability, though. Some types allow you to multiply alias a location in memory w...
hile mutating it. Unless these types use synchronization to manage this access, they ar...
it, if a type is composed entirely of Send or Sync types, then it is Send or Sync. Almost all primitives ar...
end and Sync, and as a consequence pretty much all types you'll ever interact with are Send and Sync. Major...
- https://man.plustar.jp/rust/nomicon/send-and-sync.html - [similar]
- Subtyping and Variance 8879
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
it simplifies our analysis to treat lifetimes and types uniformly.) Higher-ranked lifetimes are also subty...
c , and all other collections are variant over the types of their contents UnsafeCell<T> , Cell<T> , RefCel...
l<T> , Mutex<T> and all other interior mutability types are invariant over T (as is *mut T by metaphor) To...
type: the actual owner. The invariance of the cell types can be seen as follows: & is like an &mut for a ce...
- https://man.plustar.jp/rust/nomicon/subtyping.html - [similar]
- PhantomData 8530
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
afe code, we can often end up in a situation where types or lifetimes are logically associated with a struc...
s has historically caused, unbounded lifetimes and types are forbidden in struct definitions. Therefore we...
must somehow refer to these types in the body. Correctly doing this is necessary to...
- https://man.plustar.jp/rust/nomicon/phantom-data.html - [similar]
- Drop Check 7905
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
ts Drop. So why do we care? We care because if the type system isn't careful, it could accidentally make da...
death. This means it can potentially observe that types that are supposed to live as long as it does actua...
were destroyed first. Interestingly, only generic types need to worry about this. If they aren't generic,...
he finer details of how the drop checker validates types is totally up in the air. However The Big Rule is...
- https://man.plustar.jp/rust/nomicon/dropck.html - [similar]
- print.html 7813
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
it simplifies our analysis to treat lifetimes and types uniformly.) Higher-ranked lifetimes are also subty...
c , and all other collections are variant over the types of their contents UnsafeCell<T> , Cell<T> , RefCel...
l<T> , Mutex<T> and all other interior mutability types are invariant over T (as is *mut T by metaphor) To...
type: the actual owner. The invariance of the cell types can be seen as follows: & is like an &mut for a ce...
- https://man.plustar.jp/rust/nomicon/print.html - [similar]
PREV
1
NEXT