Skip to main content

drop_where

Function drop_where 

Source
pub fn drop_where<A: Clone, B: Copy + PartialEq>(
    items: &[A],
    read: fn(&A) -> B,
    unwanted: B,
) -> Vec<A>