Lines Matching refs:Drain
24 pub struct Drain< struct
39 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Drain<'_, T, A> { implementation
45 impl<'a, T, A: Allocator> Drain<'a, T, A> { impls
73 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> { implementation
80 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {} implementation
82 unsafe impl<T: Send, A: Send + Allocator> Send for Drain<'_, T, A> {} implementation
85 impl<T, A: Allocator> Iterator for Drain<'_, T, A> { implementation
99 impl<T, A: Allocator> DoubleEndedIterator for Drain<'_, T, A> { implementation
107 impl<T, A: Allocator> Drop for Drain<'_, T, A> { implementation
110 struct DropGuard<'r, 'a, T, A: Allocator>(&'r mut Drain<'a, T, A>); in drop()
176 impl<T, A: Allocator> ExactSizeIterator for Drain<'_, T, A> { implementation
183 unsafe impl<T, A: Allocator> TrustedLen for Drain<'_, T, A> {} implementation
186 impl<T, A: Allocator> FusedIterator for Drain<'_, T, A> {} implementation