fn update_counters_and_queue_systems(&mut self) {
        for index in self.dependants_scratch.drain(..) {
            let dependant_data = &mut self.system_metadata[index];
            dependant_data.dependencies_now -= 1;
            if dependant_data.dependencies_now == 0 {
                self.queued.insert(index);
            }
        }
    }
/// Drains `dependants_scratch`, decrementing dependency counters and enqueueing any
/// systems that become able to run.
Drains `dependants_scratch`, decrementing dependency counters and enqueueing any
systems that become able to run.
Drains ` dependants_scratch ` decrementing dependency counters and enqueueing any systems that become able to run .
fn update_counters_and_queue_systems(&mut self) {
        for index in self.dependants_scratch.drain(..) {
            let dependant_data = &mut self.system_metadata[index];
            dependant_data.dependencies_now -= 1;
            if dependant_data.dependencies_now == 0 {
                self.queued.insert(index);
            }
        }
    }
fn update_counters_and_queue_systems ( & mut self ) { for index in self . dependants_scratch . drain ( .. ) { let dependant_data = & mut self . system_metadata [ index ] ; dependant_data . dependencies_now -= 1 ; if dependant_data . dependencies_now == 0 { self . queued . insert ( index ) ; } } }
Drains `dependants_scratch`, decrementing dependency counters and enqueueing any
systems that become able to run.
Drains ` dependants_scratch ` decrementing dependency counters and enqueueing any systems that become able to run .
&mut self
&mut self