Lines Matching defs:extract_if
77 #[unstable(feature = "extract_if", reason = "recently added", issue = "43244")]
78 pub use self::extract_if::ExtractIf;
80 mod extract_if;
3222 /// But `extract_if` is easier to use. `extract_if` is also more efficient,
3225 /// Note that `extract_if` also lets you mutate every element in the filter closure,
3233 /// #![feature(extract_if)]
3236 /// let evens = numbers.extract_if(|x| *x % 2 == 0).collect::<Vec<_>>();
3242 #[unstable(feature = "extract_if", reason = "recently added", issue = "43244")]
3243 pub fn extract_if<F>(&mut self, filter: F) -> ExtractIf<'_, T, F, A>