Trait utils::vec::TakeOnly [] [src]

pub trait TakeOnly<T> {
    fn take_only<F>(&mut self, _: F) -> Vec<T>
    where
        F: Fn(&T) -> bool
; }

Take only the elements that return true from the given condition.

Required Methods

Take only the elements that return true from the given condition.

Implementors