pub(crate) fn new(scheduler: Rc<RefCell<dyn Scheduler>>, initial_schedule: Schedule) -> Self {
        Self {
            scheduler,
            initial_schedule,
        }
    }
/// Construct a new execution that will use the given scheduler. The execution should then be
/// invoked via its `run` method, which takes as input the closure for task 0.
Construct a new execution that will use the given scheduler. The execution should then be
invoked via its `run` method, which takes as input the closure for task 0.
Construct a new execution that will use the given scheduler . The execution should then be invoked via its ` run ` method which takes as input the closure for task 0 .
pub(crate) fn new(scheduler: Rc<RefCell<dyn Scheduler>>, initial_schedule: Schedule) -> Self {
        Self {
            scheduler,
            initial_schedule,
        }
    }
pub ( crate ) fn new ( scheduler : Rc < RefCell < dyn Scheduler > > , initial_schedule : Schedule ) -> Self { Self { scheduler , initial_schedule , } }
Construct a new execution that will use the given scheduler.
Construct a new execution that will use the given scheduler .
scheduler
Rc<RefCell<dyn Scheduler>>
initial_schedule
Schedule
scheduler
Rc<RefCell<dyn Scheduler>>
initial_schedule
Schedule