Lines Matching defs:for
12 /// A draining iterator for `Vec<T>`.
15 /// See its documentation for more.
39 impl<T: fmt::Debug, A: Allocator> fmt::Debug for Drain<'_, T, A> {
142 impl<'a, T, A: Allocator> AsRef<[T]> for Drain<'a, T, A> {
149 unsafe impl<T: Sync, A: Sync + Allocator> Sync for Drain<'_, T, A> {}
151 unsafe impl<T: Send, A: Send + Allocator> Send for Drain<'_, T, A> {}
154 impl<T, A: Allocator> Iterator for Drain<'_, T, A> {
168 impl<T, A: Allocator> DoubleEndedIterator for Drain<'_, T, A> {
176 impl<T, A: Allocator> Drop for Drain<'_, T, A> {
181 impl<'r, 'a, T, A: Allocator> Drop for DropGuard<'r, 'a, T, A> {
232 // drop_ptr comes from a slice::Iter which only gives us a &[T] but for drop_in_place
245 impl<T, A: Allocator> ExactSizeIterator for Drain<'_, T, A> {
252 unsafe impl<T, A: Allocator> TrustedLen for Drain<'_, T, A> {}
255 impl<T, A: Allocator> FusedIterator for Drain<'_, T, A> {}