Home
last modified time | relevance | path

Searched refs:DrainFilter (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/rust/alloc/vec/
Ddrain_filter.rs25 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()
Dmod.rs78 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()