pub fn retain<F>(&self, f: F)
    where
        T: Eq + Hash,
        F: FnMut(&T) -> bool,
    {
        self.inner.borrow_mut().retain(f);
        (self.update)();
    }
/// Retains only the elements specified by the predicate.
Retains only the elements specified by the predicate.
Retains only the elements specified by the predicate .
pub fn retain<F>(&self, f: F)
    where
        T: Eq + Hash,
        F: FnMut(&T) -> bool,
    {
        self.inner.borrow_mut().retain(f);
        (self.update)();
    }
pub fn retain < F > ( & self , f : F ) where T : Eq + Hash , F : FnMut ( & T ) -> bool , { self . inner . borrow_mut ( ) . retain ( f ) ; ( self . update ) ( ) ; }
Retains only the elements specified by the predicate.
Retains only the elements specified by the predicate .
&self
f
F
&self
f
F