Home
last modified time | relevance | path

Searched defs:DropGuard (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/rust/kernel/init/
H A D__internal.rs187 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 Dslice.rs127 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 Ddrain.rs179 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 Dinto_iter.rs402 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