Skip to main content

filter

Function filter 

Source
pub fn filter<S: Slot<VecDeque<T>>, T>(
    deque: S,
    keep: impl FnMut(&T) -> bool,
) -> S