Searched refs:DropGuard (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/rust/alloc/vec/ |
A D | drain.rs | 110 struct DropGuard<'r, 'a, T, A: Allocator>(&'r mut Drain<'a, T, A>); in drop() struct 112 impl<'r, 'a, T, A: Allocator> Drop for DropGuard<'r, 'a, T, A> { in drop() implementation 150 let _guard = DropGuard(self); in drop()
|
A D | into_iter.rs | 320 struct DropGuard<'a, T, A: Allocator>(&'a mut IntoIter<T, A>); in drop() struct 322 impl<T, A: Allocator> Drop for DropGuard<'_, T, A> { in drop() implementation 333 let guard = DropGuard(self); in drop()
|
/linux-6.3-rc2/rust/alloc/ |
A D | slice.rs | 192 struct DropGuard<'a, T, A: Allocator> { in to_vec() struct 196 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec() implementation 207 let mut guard = DropGuard { vec: &mut vec, num_init: 0 }; in to_vec()
|
Completed in 6 milliseconds