@@ -8,25 +8,27 @@ 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.
15
- - ` Schedule::systems `
16
- - ` ScheduleGraph::systems `
17
- - ` ScheduleGraph::system_sets `
18
- - ` ScheduleGraph::conflicting_systems `
16
+ - ` Schedule::systems `
17
+ - ` ScheduleGraph::systems `
18
+ - ` ScheduleGraph::system_sets `
19
+ - ` ScheduleGraph::conflicting_systems `
19
20
- Use the appropriate key types to index these structures rather than bare ` usize ` s:
20
- - ` ScheduleGraph::systems ` field
21
- - ` ScheduleGraph::system_conditions `
21
+ - ` ScheduleGraph::systems ` field
22
+ - ` ScheduleGraph::system_conditions `
22
23
- The following functions now take the type-specific keys. Use pattern matching to extract them from ` NodeId ` s, if necessary:
23
- - ` ScheduleGraph::get_system_at `
24
- - ` ScheduleGraph::system_at `
25
- - ` ScheduleGraph::get_set_at `
26
- - ` ScheduleGraph::set_at `
27
- - ` ScheduleGraph::get_set_conditions_at `
28
- - ` ScheduleGraph::set_conditions_at `
24
+ - ` ScheduleGraph::get_system_at `
25
+ - ` ScheduleGraph::system_at `
26
+ - ` ScheduleGraph::get_set_at `
27
+ - ` ScheduleGraph::set_at `
28
+ - ` ScheduleGraph::get_set_conditions_at `
29
+ - ` ScheduleGraph::set_conditions_at `
29
30
30
31
The following functions were removed:
32
+
31
33
- ` NodeId::index ` : You should match on and use the ` SystemKey ` and ` SystemSetKey ` instead.
32
- - ` NodeId::cmp ` : Use the ` PartialOrd ` and ` Ord ` traits instead.
34
+ - ` NodeId::cmp ` : Use the ` PartialOrd ` and ` Ord ` traits instead.
0 commit comments