Searched defs:DropGuard (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/rust/kernel/init/ |
H A D | __internal.rs | 187 pub struct DropGuard<T: ?Sized> { struct 191 impl<T: ?Sized> DropGuard<T> { argument 208 impl<T: ?Sized> Drop for DropGuard<T> { implementation
|
/openbmc/linux/rust/alloc/ |
H A D | slice.rs | 127 struct DropGuard<'a, T, A: Allocator> { in to_vec() struct 128 vec: &'a mut Vec<T, A>, in to_vec() 129 num_init: usize, in to_vec() 131 impl<'a, T, A: Allocator> Drop for DropGuard<'a, T, A> { in to_vec() implementation
|
/openbmc/linux/rust/alloc/vec/ |
H A D | drain.rs | 179 struct DropGuard<'r, 'a, T, A: Allocator>(&'r mut Drain<'a, T, A>); in drop() struct 181 impl<'r, 'a, T, A: Allocator> Drop for DropGuard<'r, 'a, T, A> { in drop() implementation
|
H A D | into_iter.rs | 402 struct DropGuard<'a, T, A: Allocator>(&'a mut IntoIter<T, A>); in drop() struct 404 impl<T, A: Allocator> Drop for DropGuard<'_, T, A> { in drop() implementation
|