pub fn add_thread_local_fn<F: FnMut(&mut World, &mut Resources) + 'static>(
        mut self,
        f: F,
    ) -> Self {
        self.finalize_executor();
        self.steps.push(Step::ThreadLocalFn(
            Box::new(f) as Box<dyn FnMut(&mut World, &mut Resources)>
        ));
        self
    }
/// Adds a thread local function to the schedule. This function will be executed on the main thread.
Adds a thread local function to the schedule. This function will be executed on the main thread.
Adds a thread local function to the schedule . This function will be executed on the main thread .
pub fn add_thread_local_fn<F: FnMut(&mut World, &mut Resources) + 'static>(
        mut self,
        f: F,
    ) -> Self {
        self.finalize_executor();
        self.steps.push(Step::ThreadLocalFn(
            Box::new(f) as Box<dyn FnMut(&mut World, &mut Resources)>
        ));
        self
    }
pub fn add_thread_local_fn < F : FnMut ( & mut World , & mut Resources ) + ' static > ( mut self , f : F , ) -> Self { self . finalize_executor ( ) ; self . steps . push ( Step :: ThreadLocalFn ( Box :: new ( f ) as Box < dyn FnMut ( & mut World , & mut Resources ) > ) ) ; self }
Adds a thread local function to the schedule.
Adds a thread local function to the schedule .
mut self
f
F
mut self
f
F