検索
Results of 11 - 20 of about 53 for Drop (0.035 sec.)
- ドロップフラグ 7382
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
されていないので、単に上書きします。 if condition { drop(x) // x はムーブされたので、 x を初期化前の状態にし...
ます。 } else { println!("{}", x); drop(x) // x はムーブされたので、 x を初期化前の状態にし...
- https://man.plustar.jp/rust/nomicon/drop-flags.html - [similar]
- サイズが 0 の型を扱う 7278
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
(ptr as *mut _); self.cap = new_cap; } } } impl<T> Drop for RawVec<T> { fn drop(&mut self) { let elem_size...
- https://man.plustar.jp/rust/nomicon/vec-zsts.html - [similar]
- 例外安全性 7159
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
r, hole_ptr, 1); self.pos = index; } } impl<'a, T> Drop for Hole<'a, T> { fn drop(&mut self) { // 穴を再び...
- https://man.plustar.jp/rust/nomicon/exception-safety.html - [similar]
- プッシュとポップ 7159
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
foo[idx] = x によって、 foo[idx] の古い値に対して drop を呼ぼうとしてしまいます! 正しい方法は、 ptr::writ...
- https://man.plustar.jp/rust/nomicon/vec-push-pop.html - [similar]
- 代替メモリレイアウト 7114
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
の違いは、フィールドに名前がないことだけです。 型に drop flags が付いていても、その型は追加されます。 enum...
- https://man.plustar.jp/rust/nomicon/other-reprs.html - [similar]
- リーク 7055
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
ref_count += 1; } Rc { ptr: self.ptr } } } impl<T> Drop for Rc<T> { fn drop(&mut self) { unsafe { (*self.p...
- https://man.plustar.jp/rust/nomicon/leaking.html - [similar]
- Arc と Mutex の実装 6995
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
- https://man.plustar.jp/rust/nomicon/arc-and-mutex.html - [similar]
- ドットオペレータ 6995
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
- https://man.plustar.jp/rust/nomicon/dot-operator.html - [similar]
- データレイアウト 6950
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
- https://man.plustar.jp/rust/nomicon/data.html - [similar]
- 初期化されないメモリ 6950
- はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ
...
高階トレイト境界 3.7. Subtyping and Variance 3.8. Drop Check 3.9. PhantomData 3.10. 借用の分割 4. 型変換...
- https://man.plustar.jp/rust/nomicon/uninitialized.html - [similar]