@@ -83,8 +83,10 @@ impl System for UpdatePosition {
83
83
type Filter : filter :: None ;
84
84
type Views <'a >: views! (& 'a mut Position , & 'a Velocity );
85
85
86
- fn run <'a , R , FI , VI , P , I , Q >(& mut self , query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >)
87
- where
86
+ fn run <'a , R , FI , VI , P , I , Q >(
87
+ & mut self ,
88
+ query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >
89
+ ) where
88
90
R : ContainsQuery <Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >,
89
91
{
90
92
for result! (position , velocity ) in query_results {
@@ -189,8 +191,10 @@ impl ParSystem for UpdatePosition {
189
191
type Filter : filter :: None ;
190
192
type Views <'a >: views! (& 'a mut Position , & 'a Velocity );
191
193
192
- fn run <'a , R , FI , VI , P , I , Q >(& mut self , query_results : result :: ParIter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >)
193
- where
194
+ fn run <'a , R , FI , VI , P , I , Q >(
195
+ & mut self ,
196
+ query_results : result :: ParIter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >
197
+ ) where
194
198
R : ContainsParQuery <'a , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >,
195
199
{
196
200
query_results . for_each (| result! (position , velocity )| {
@@ -246,8 +250,10 @@ impl System for UpdatePosition {
246
250
type Filter : filter :: None ;
247
251
type Views <'a >: views! (& 'a mut Position , & 'a Velocity );
248
252
249
- fn run <'a , R , FI , VI , P , I , Q >(& mut self , query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >)
250
- where
253
+ fn run <'a , R , FI , VI , P , I , Q >(
254
+ & mut self ,
255
+ query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >
256
+ ) where
251
257
R : ContainsQuery <'a , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >,
252
258
{
253
259
for result! (position , velocity ) in query_results {
@@ -263,8 +269,10 @@ impl System for UpdateIsMoving {
263
269
type Filter : filter :: None ;
264
270
type Views <'a >: views! (& 'a Velocity , & 'a mut IsMoving );
265
271
266
- fn run <'a , R , FI , VI , P , I , Q >(& mut self , query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >)
267
- where
272
+ fn run <'a , R , FI , VI , P , I , Q >(
273
+ & mut self ,
274
+ query_results : result :: Iter <'a , R , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >
275
+ ) where
268
276
R : ContainsQuery <'a , Self :: Filter , FI , Self :: Views <'a >, VI , P , I , Q >,
269
277
{
270
278
for result! (velocity , is_moving ) in query_results {
0 commit comments