Skip to main content

keep

Function keep 

Source
pub fn keep<T: Clone>(items: &[T], when: fn(&T) -> bool) -> Vec<T>