pub fn instant(&mut self) -> bool {
    /*
    println!("Running instant (cur: {}, endof: {}, next: {})",
      self.current_instant_tasks.len(),
      self.end_of_instant_tasks.len(),
      self.next_instant_tasks.len()
    );
    */

    // Run tasks belonging to the current instant, then tasks belonging to the end of current instant
    while self.current_instant() {}
    while self.end_of_instant() {}

    // Move to the next instant and return whether there are new tasks to run or not
    return self.move_to_next_instant();
  }
/// Executes a single instant to completion. Indicates if more work remains to be done.
Executes a single instant to completion. Indicates if more work remains to be done.
Executes a single instant to completion . Indicates if more work remains to be done .
pub fn instant(&mut self) -> bool {
    /*
    println!("Running instant (cur: {}, endof: {}, next: {})",
      self.current_instant_tasks.len(),
      self.end_of_instant_tasks.len(),
      self.next_instant_tasks.len()
    );
    */
    // Run tasks belonging to the current instant, then tasks belonging to the end of current instant
    while self.current_instant() {}
    while self.end_of_instant() {}
    // Move to the next instant and return whether there are new tasks to run or not
    return self.move_to_next_instant();
  }
pub fn instant ( & mut self ) -> bool { /*
    println!("Running instant (cur: {}, endof: {}, next: {})",
      self.current_instant_tasks.len(),
      self.end_of_instant_tasks.len(),
      self.next_instant_tasks.len()
    );
    */ // Run tasks belonging to the current instant, then tasks belonging to the end of current instant while self . current_instant ( ) { } while self . end_of_instant ( ) { } // Move to the next instant and return whether there are new tasks to run or not return self . move_to_next_instant ( ) ; }
Executes a single instant to completion.
Executes a single instant to completion .
&mut self