pub fn for_each_element_mut<F: Fn(&mut Element) + Sync + Send>(&mut self, f: F) {
        // No use parallelizing over all minimal or maximal elements.
        f(self.min_mut());
        f(self.max_mut());

        let rank = self.rank();
        for elements in self.iter_mut().take(rank).skip(1) {
            elements.par_iter_mut().for_each(&f);
        }
    }
/// Applies a function to all elements in parallel.
Applies a function to all elements in parallel.
Applies a function to all elements in parallel .
pub fn for_each_element_mut<F: Fn(&mut Element) + Sync + Send>(&mut self, f: F) {
        // No use parallelizing over all minimal or maximal elements.
        f(self.min_mut());
        f(self.max_mut());
        let rank = self.rank();
        for elements in self.iter_mut().take(rank).skip(1) {
            elements.par_iter_mut().for_each(&f);
        }
    }
pub fn for_each_element_mut < F : Fn ( & mut Element ) + Sync + Send > ( & mut self , f : F ) { // No use parallelizing over all minimal or maximal elements. f ( self . min_mut ( ) ) ; f ( self . max_mut ( ) ) ; let rank = self . rank ( ) ; for elements in self . iter_mut ( ) . take ( rank ) . skip ( 1 ) { elements . par_iter_mut ( ) . for_each ( & f ) ; } }
Applies a function to all elements in parallel.
Applies a function to all elements in parallel .
&mut self
f
F
&mut self
f
F