Searched defs: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
|
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
|
/linux-6.3-rc2/rust/alloc/ |
A D | slice.rs | 192 struct DropGuard<'a, T, A: Allocator> { in to_vec() struct 193 vec: &'a mut Vec<T, A>, in to_vec() 194 num_init: usize, in to_vec() 196 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec() implementation
|
Completed in 7 milliseconds