/// Set a particular scheduler implementation
///
/// Takes a function `f` from the number of threads to a concrete scheduler implementation as argument.
Set a particular scheduler implementation
Takes a function `f` from the number of threads to a concrete scheduler implementation as argument.
Set a particular scheduler implementation Takes a function ` f ` from the number of threads to a concrete scheduler implementation as argument .
pub fn scheduler<F>(&mut self, f: F) -> &mut Self
    where
        F: Fn(usize) -> Box<dyn Scheduler> + 'static,
    {
        self.scheduler_builder = Rc::new(f);
        self
    }
pub fn scheduler < F > ( & mut self , f : F ) -> & mut Self where F : Fn ( usize ) -> Box < dyn Scheduler > + ' static , { self . scheduler_builder = Rc :: new ( f ) ; self }
Set a particular scheduler implementation
Takes a function `f` from the number of threads to a concrete scheduler implementation as argument.
Set a particular scheduler implementation Takes a function ` f ` from the number of threads to a concrete scheduler implementation as argument .
&mut self
f
F