@@ -8,18 +8,24 @@ In order to support removing systems from schedules, `Vec`s storing `System`s an
8
8
reusing indices. The maps are respectively keyed by ` SystemKey ` s and ` SystemSetKey ` s.
9
9
10
10
The following signatures were changed:
11
+
11
12
- ` NodeId::System ` : Now stores a ` SystemKey ` instead of a plain ` usize `
12
13
- ` NodeId::Set ` : Now stores a ` SystemSetKey ` instead of a plain ` usize `
13
14
- ` ScheduleBuildPass::collapse_set ` : Now takes the type-specific keys. Wrap them back into a ` NodeId ` if necessary.
14
15
- The following functions now return the type-specific keys. Wrap them back into a ` NodeId ` if necessary.
16
+
15
17
- ` Schedule::systems `
16
18
- ` ScheduleGraph::systems `
17
19
- ` ScheduleGraph::system_sets `
18
20
- ` ScheduleGraph::conflicting_systems `
21
+
19
22
- Use the appropriate key types to index these structures rather than bare ` usize ` s:
23
+
20
24
- ` ScheduleGraph::systems ` field
21
25
- ` ScheduleGraph::system_conditions `
26
+
22
27
- The following functions now take the type-specific keys. Use pattern matching to extract them from ` NodeId ` s, if necessary:
28
+
23
29
- ` ScheduleGraph::get_system_at `
24
30
- ` ScheduleGraph::system_at `
25
31
- ` ScheduleGraph::get_set_at `
@@ -28,5 +34,6 @@ The following signatures were changed:
28
34
- ` ScheduleGraph::set_conditions_at `
29
35
30
36
The following functions were removed:
37
+
31
38
- ` NodeId::index ` : You should match on and use the ` SystemKey ` and ` SystemSetKey ` instead.
32
- - ` NodeId::cmp ` : Use the ` PartialOrd ` and ` Ord ` traits instead.
39
+ - ` NodeId::cmp ` : Use the ` PartialOrd ` and ` Ord ` traits instead.
0 commit comments