pub fn retain<F>(&mut self, f: F)
    where
        F: FnMut(&mut A::Item) -> bool,
    {
        self.vec.retain(f)
    }
/// Retains only the elements specified by the predicate.
///
/// In other words, remove all elements `e` such that `f(&e)` returns `false`.
/// This method operates in place and preserves the order of the retained
/// elements.
Retains only the elements specified by the predicate.
Retains only the elements specified by the predicate .
pub fn retain<F>(&mut self, f: F)
    where
        F: FnMut(&mut A::Item) -> bool,
    {
        self.vec.retain(f)
    }
pub fn retain < F > ( & mut self , f : F ) where F : FnMut ( & mut A :: Item ) -> bool , { self . vec . retain ( f ) }
Retains only the elements specified by the predicate.
Retains only the elements specified by the predicate .
&mut self
f
F
&mut self
f
F