Lines Matching defs:IntoIter

31 /// let iter: std::vec::IntoIter<_> = v.into_iter();
35 pub struct IntoIter<
52 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> {
54 f.debug_tuple("IntoIter").field(&self.as_slice()).finish()
58 impl<T, A: Allocator> IntoIter<T, A> {
174 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> {
181 unsafe impl<T: Send, A: Allocator + Send> Send for IntoIter<T, A> {}
183 unsafe impl<T: Sync, A: Allocator + Sync> Sync for IntoIter<T, A> {}
186 impl<T, A: Allocator> Iterator for IntoIter<T, A> {
242 fn next_chunk<const N: usize>(&mut self) -> Result<[T; N], core::array::IntoIter<T, N>> {
251 return Err(unsafe { array::IntoIter::new_unchecked(raw_ary, 0..len) });
265 return Err(array::IntoIter::new_unchecked(raw_ary, 0..len));
297 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> {
335 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> {
342 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {}
345 unsafe impl<T, A: Allocator> TrustedLen for IntoIter<T, A> {}
348 impl<T, A> Default for IntoIter<T, A>
352 /// Creates an empty `vec::IntoIter`.
356 /// let iter: vec::IntoIter<u8> = Default::default();
379 unsafe impl<T, A: Allocator> TrustedRandomAccessNoCoerce for IntoIter<T, A>
388 impl<T: Clone, A: Allocator + Clone> Clone for IntoIter<T, A> {
400 unsafe impl<#[may_dangle] T, A: Allocator> Drop for IntoIter<T, A> {
402 struct DropGuard<'a, T, A: Allocator>(&'a mut IntoIter<T, A>);
407 // `IntoIter::alloc` is not used anymore after this and will be dropped by RawVec
428 unsafe impl<T, A: Allocator> InPlaceIterable for IntoIter<T, A> {}
432 unsafe impl<T, A: Allocator> SourceIter for IntoIter<T, A> {
442 unsafe impl<T> AsVecIntoIter for IntoIter<T> {
445 fn as_into_iter(&mut self) -> &mut IntoIter<Self::Item> {