Skip to main content

filter

Function filter 

Source
pub fn filter<S: Slot<HashMap<K, V>>, K, V>(
    map: S,
    keep: impl FnMut(&K, &V) -> bool,
) -> S