Searched refs:DrainFilter (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/rust/alloc/vec/ |
D | drain_filter.rs | 25 pub struct DrainFilter< struct 50 impl<T, F, A: Allocator> DrainFilter<'_, T, F, A> argument 116 impl<T, F, A: Allocator> Iterator for DrainFilter<'_, T, F, A> implementation 154 impl<T, F, A: Allocator> Drop for DrainFilter<'_, T, F, A> implementation 163 drain: &'b mut DrainFilter<'a, T, F, A>, in drop()
|
D | mod.rs | 78 pub use self::drain_filter::DrainFilter; 3252 pub fn drain_filter<F>(&mut self, filter: F) -> DrainFilter<'_, T, F, A> in drain_filter() 3263 DrainFilter { vec: self, idx: 0, del: 0, old_len, pred: filter, panic_flag: false } in drain_filter()
|