fn move_to_next_instant(&mut self) -> bool {
    //println!("Moving to next instant...");

    // Clear current instant tasks
    self.current_instant_tasks.clear();
    self.end_of_instant_tasks.clear();

    // Next instant tasks now are current instant tasks
    self.current_instant_tasks.append(&mut self.next_instant_tasks);

    return !self.current_instant_tasks.is_empty();
  }
/// Prepare the runtime for moving to the next instant, and update its state accordingly.
/// Returns whether there are more tasks to run during current instant.
Prepare the runtime for moving to the next instant, and update its state accordingly.
Returns whether there are more tasks to run during current instant.
Prepare the runtime for moving to the next instant and update its state accordingly . Returns whether there are more tasks to run during current instant .
fn move_to_next_instant(&mut self) -> bool {
    //println!("Moving to next instant...");
    // Clear current instant tasks
    self.current_instant_tasks.clear();
    self.end_of_instant_tasks.clear();
    // Next instant tasks now are current instant tasks
    self.current_instant_tasks.append(&mut self.next_instant_tasks);
    return !self.current_instant_tasks.is_empty();
  }
fn move_to_next_instant ( & mut self ) -> bool { //println!("Moving to next instant..."); // Clear current instant tasks self . current_instant_tasks . clear ( ) ; self . end_of_instant_tasks . clear ( ) ; // Next instant tasks now are current instant tasks self . current_instant_tasks . append ( & mut self . next_instant_tasks ) ; return ! self . current_instant_tasks . is_empty ( ) ; }
Prepare the runtime for moving to the next instant, and update its state accordingly.
Prepare the runtime for moving to the next instant and update its state accordingly .
&mut self