検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 10 for next (0.022 sec.)
Drain 11727
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... , T> Iterator for Drain<'a, T> { type Item = T; fn next(&mut self) -> Option<T> { if self.start == self.en ... pl<T> Iterator for IntoIter<T> { type Item = T; fn next(&mut self) -> Option<T> { self.iter.next() } fn si ... } impl<T> DoubleEndedIterator for IntoIter<T> { fn next_back(&mut self) -> Option<T> { self.iter.next_back ... , T> Iterator for Drain<'a, T> { type Item = T; fn next(&mut self) -> Option<T> { self.iter.next() } fn si ...
https://man.plustar.jp/rust/nomicon/vec-drain.html - [similar]
借用の分割 11441
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... nused)] fn main() { trait Iterator { type Item; fn next(&mut self) -> Option<Self::Item>; } } 上記の定義に ... em は self と何のつながりも持ち ません 。 これは、 next を続けて何回か呼ぶことができ、そしてそれらに対する ... = Option<Box<Node<T>>>; struct Node<T> { elem: T, next: Link<T>, } pub struct LinkedList<T> { head: Link< ... tor for IterMut<'a, T> { type Item = &'a mut T; fn next(&mut self) -> Option<Self::Item> { self.0.take().m ...
https://man.plustar.jp/rust/nomicon/borrow-splitting.html - [similar]
Final Code 11173
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... <T> Iterator for RawValIter<T> { type Item = T; fn next(&mut self) -> Option<T> { if self.start == self.en ... impl<T> DoubleEndedIterator for RawValIter<T> { fn next_back(&mut self) -> Option<T> { if self.start == se ... pl<T> Iterator for IntoIter<T> { type Item = T; fn next(&mut self) -> Option<T> { self.iter.next() } fn si ... } impl<T> DoubleEndedIterator for IntoIter<T> { fn next_back(&mut self) -> Option<T> { self.iter.next_back ...
https://man.plustar.jp/rust/nomicon/vec-final.html - [similar]
IntoIter 9653
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... とを意味します。 読み出しとオフセットの操作の順序は nextnext_back とで逆転することに 注意してください。 ... next_back では、ポインタは次に読みたい要素の直後の 要素 ... をいつも指しています。対して next では、ポインタは次に読みたい 要素をいつも指していま ... pl<T> Iterator for IntoIter<T> { type Item = T; fn next(&mut self) -> Option<T> { if self.start == self.en ...
https://man.plustar.jp/rust/nomicon/vec-into-iter.html - [similar]
print.html 8205
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... need to worry about, which we will look at in the next section. PhantomData When working with unsafe code ... efore may drop some T's when we drop, we must add an extra PhantomData saying exactly that: use std::marke ... nused)] fn main() { trait Iterator { type Item; fn next(&mut self) -> Option<Self::Item>; } } 上記の定義に ... em は self と何のつながりも持ち ません 。 これは、 next を続けて何回か呼ぶことができ、そしてそれらに対する ...
https://man.plustar.jp/rust/nomicon/print.html - [similar]
RawVec 7758
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... はなりません。 start: *const T, end: *const T, } // nextnext_back は buf を参照していないため、文字通り ...
https://man.plustar.jp/rust/nomicon/vec-raw.html - [similar]
デストラクタ 7490
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... 。 同様に #![allow(unused)] fn main() { enum Link { Next(Box<Link>), None, } } これは、インスタンスが Next ...
https://man.plustar.jp/rust/nomicon/destructors.html - [similar]
サイズが 0 の型を扱う 7490
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... <T> Iterator for RawValIter<T> { type Item = T; fn next(&mut self) -> Option<T> { if self.start == self.en ... impl<T> DoubleEndedIterator for RawValIter<T> { fn next_back(&mut self) -> Option<T> { if self.start == se ...
https://man.plustar.jp/rust/nomicon/vec-zsts.html - [similar]
リーク 7311
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... / 2 つの値を引き出し、即座にドロップします drainer.next(); drainer.next(); // drainer を取り除きますが、デ ...
https://man.plustar.jp/rust/nomicon/leaking.html - [similar]
Drop Check 7043
はじめに 1. 安全と危険のご紹介 1.1. 安全と危険の相互作用 1.2. Unsafe と連携する 2. データレイアウ ... need to worry about, which we will look at in the next section. 関連キーワード: Inspector , Drop , self , ...
https://man.plustar.jp/rust/nomicon/dropck.html - [similar]
PREV 1 NEXT