Skip to main content

ExtractIf

Struct ExtractIf 

Source
pub struct ExtractIf<'a, K, F, A = Global>
where A: Allocator, F: FnMut(&K) -> bool,
{ /* private fields */ }
Expand description

A draining iterator over entries of a HashSet which don’t satisfy the predicate f.

This struct is created by the extract_if method on HashSet. See its documentation for more.