@@ -17,7 +17,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
1717 . overwrite_script_function (
1818 "clone" ,
1919 |_self : Ref < bevy:: time:: prelude:: Fixed > | {
20- let output: Val < bevy:: time:: prelude:: Fixed > = :: bevy:: time:: prelude:: Fixed :: clone (
20+ let output: Val < bevy:: time:: prelude:: Fixed > = < bevy:: time:: prelude:: Fixed as std :: clone :: Clone > :: clone (
2121 & _self,
2222 )
2323 . into ( ) ;
@@ -28,7 +28,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
2828 . overwrite_script_function (
2929 "clone" ,
3030 |_self : Ref < bevy:: time:: prelude:: Real > | {
31- let output: Val < bevy:: time:: prelude:: Real > = :: bevy:: time:: prelude:: Real :: clone (
31+ let output: Val < bevy:: time:: prelude:: Real > = < bevy:: time:: prelude:: Real as std :: clone :: Clone > :: clone (
3232 & _self,
3333 )
3434 . into ( ) ;
@@ -39,7 +39,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
3939 . overwrite_script_function (
4040 "assert_receiver_is_total_eq" ,
4141 |_self : Ref < bevy:: time:: prelude:: Timer > | {
42- let output: ( ) = :: bevy:: time:: prelude:: Timer :: assert_receiver_is_total_eq (
42+ let output: ( ) = < bevy:: time:: prelude:: Timer as std :: cmp :: Eq > :: assert_receiver_is_total_eq (
4343 & _self,
4444 )
4545 . into ( ) ;
@@ -49,7 +49,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
4949 . overwrite_script_function (
5050 "from_seconds" ,
5151 |duration : f32 , mode : Val < bevy:: time:: prelude:: TimerMode > | {
52- let output: Val < bevy:: time:: prelude:: Timer > = :: bevy:: time:: prelude:: Timer :: from_seconds (
52+ let output: Val < bevy:: time:: prelude:: Timer > = bevy:: time:: prelude:: Timer :: from_seconds (
5353 duration,
5454 mode. into_inner ( ) ,
5555 )
@@ -60,33 +60,31 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
6060 . overwrite_script_function (
6161 "finished" ,
6262 |_self : Ref < bevy:: time:: prelude:: Timer > | {
63- let output: bool = :: bevy:: time:: prelude:: Timer :: finished ( & _self)
63+ let output: bool = bevy:: time:: prelude:: Timer :: finished ( & _self)
6464 . into ( ) ;
6565 output
6666 } ,
6767 )
6868 . overwrite_script_function (
6969 "just_finished" ,
7070 |_self : Ref < bevy:: time:: prelude:: Timer > | {
71- let output: bool = :: bevy:: time:: prelude:: Timer :: just_finished (
72- & _self,
73- )
71+ let output: bool = bevy:: time:: prelude:: Timer :: just_finished ( & _self)
7472 . into ( ) ;
7573 output
7674 } ,
7775 )
7876 . overwrite_script_function (
7977 "elapsed_secs" ,
8078 |_self : Ref < bevy:: time:: prelude:: Timer > | {
81- let output: f32 = :: bevy:: time:: prelude:: Timer :: elapsed_secs ( & _self)
79+ let output: f32 = bevy:: time:: prelude:: Timer :: elapsed_secs ( & _self)
8280 . into ( ) ;
8381 output
8482 } ,
8583 )
8684 . overwrite_script_function (
8785 "elapsed_secs_f64" ,
8886 |_self : Ref < bevy:: time:: prelude:: Timer > | {
89- let output: f64 = :: bevy:: time:: prelude:: Timer :: elapsed_secs_f64 (
87+ let output: f64 = bevy:: time:: prelude:: Timer :: elapsed_secs_f64 (
9088 & _self,
9189 )
9290 . into ( ) ;
@@ -96,7 +94,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
9694 . overwrite_script_function (
9795 "mode" ,
9896 |_self : Ref < bevy:: time:: prelude:: Timer > | {
99- let output: Val < bevy:: time:: prelude:: TimerMode > = :: bevy:: time:: prelude:: Timer :: mode (
97+ let output: Val < bevy:: time:: prelude:: TimerMode > = bevy:: time:: prelude:: Timer :: mode (
10098 & _self,
10199 )
102100 . into ( ) ;
@@ -109,7 +107,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
109107 mut _self : Mut < bevy:: time:: prelude:: Timer > ,
110108 mode : Val < bevy:: time:: prelude:: TimerMode > |
111109 {
112- let output: ( ) = :: bevy:: time:: prelude:: Timer :: set_mode (
110+ let output: ( ) = bevy:: time:: prelude:: Timer :: set_mode (
113111 & mut _self,
114112 mode. into_inner ( ) ,
115113 )
@@ -120,47 +118,46 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
120118 . overwrite_script_function (
121119 "pause" ,
122120 |mut _self : Mut < bevy:: time:: prelude:: Timer > | {
123- let output: ( ) = :: bevy:: time:: prelude:: Timer :: pause ( & mut _self)
121+ let output: ( ) = bevy:: time:: prelude:: Timer :: pause ( & mut _self)
124122 . into ( ) ;
125123 output
126124 } ,
127125 )
128126 . overwrite_script_function (
129127 "unpause" ,
130128 |mut _self : Mut < bevy:: time:: prelude:: Timer > | {
131- let output: ( ) = :: bevy:: time:: prelude:: Timer :: unpause ( & mut _self)
129+ let output: ( ) = bevy:: time:: prelude:: Timer :: unpause ( & mut _self)
132130 . into ( ) ;
133131 output
134132 } ,
135133 )
136134 . overwrite_script_function (
137135 "paused" ,
138136 |_self : Ref < bevy:: time:: prelude:: Timer > | {
139- let output: bool = :: bevy:: time:: prelude:: Timer :: paused ( & _self)
140- . into ( ) ;
137+ let output: bool = bevy:: time:: prelude:: Timer :: paused ( & _self) . into ( ) ;
141138 output
142139 } ,
143140 )
144141 . overwrite_script_function (
145142 "reset" ,
146143 |mut _self : Mut < bevy:: time:: prelude:: Timer > | {
147- let output: ( ) = :: bevy:: time:: prelude:: Timer :: reset ( & mut _self)
144+ let output: ( ) = bevy:: time:: prelude:: Timer :: reset ( & mut _self)
148145 . into ( ) ;
149146 output
150147 } ,
151148 )
152149 . overwrite_script_function (
153150 "fraction" ,
154151 |_self : Ref < bevy:: time:: prelude:: Timer > | {
155- let output: f32 = :: bevy:: time:: prelude:: Timer :: fraction ( & _self)
152+ let output: f32 = bevy:: time:: prelude:: Timer :: fraction ( & _self)
156153 . into ( ) ;
157154 output
158155 } ,
159156 )
160157 . overwrite_script_function (
161158 "fraction_remaining" ,
162159 |_self : Ref < bevy:: time:: prelude:: Timer > | {
163- let output: f32 = :: bevy:: time:: prelude:: Timer :: fraction_remaining (
160+ let output: f32 = bevy:: time:: prelude:: Timer :: fraction_remaining (
164161 & _self,
165162 )
166163 . into ( ) ;
@@ -170,17 +167,15 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
170167 . overwrite_script_function (
171168 "remaining_secs" ,
172169 |_self : Ref < bevy:: time:: prelude:: Timer > | {
173- let output: f32 = :: bevy:: time:: prelude:: Timer :: remaining_secs (
174- & _self,
175- )
170+ let output: f32 = bevy:: time:: prelude:: Timer :: remaining_secs ( & _self)
176171 . into ( ) ;
177172 output
178173 } ,
179174 )
180175 . overwrite_script_function (
181176 "times_finished_this_tick" ,
182177 |_self : Ref < bevy:: time:: prelude:: Timer > | {
183- let output: u32 = :: bevy:: time:: prelude:: Timer :: times_finished_this_tick (
178+ let output: u32 = bevy:: time:: prelude:: Timer :: times_finished_this_tick (
184179 & _self,
185180 )
186181 . into ( ) ;
@@ -190,7 +185,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
190185 . overwrite_script_function (
191186 "clone" ,
192187 |_self : Ref < bevy:: time:: prelude:: Timer > | {
193- let output: Val < bevy:: time:: prelude:: Timer > = :: bevy:: time:: prelude:: Timer :: clone (
188+ let output: Val < bevy:: time:: prelude:: Timer > = < bevy:: time:: prelude:: Timer as std :: clone :: Clone > :: clone (
194189 & _self,
195190 )
196191 . into ( ) ;
@@ -203,7 +198,9 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
203198 _self : Ref < bevy:: time:: prelude:: Timer > ,
204199 other : Ref < bevy:: time:: prelude:: Timer > |
205200 {
206- let output: bool = :: bevy:: time:: prelude:: Timer :: eq ( & _self, & other)
201+ let output: bool = <bevy:: time:: prelude:: Timer as std:: cmp:: PartialEq <
202+ bevy:: time:: prelude:: Timer ,
203+ > >:: eq ( & _self, & other)
207204 . into ( ) ;
208205 output
209206 } ,
@@ -215,18 +212,17 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
215212 _self : Ref < bevy:: time:: prelude:: TimerMode > ,
216213 other : Ref < bevy:: time:: prelude:: TimerMode > |
217214 {
218- let output: bool = :: bevy:: time:: prelude:: TimerMode :: eq (
219- & _self,
220- & other,
221- )
215+ let output: bool = <bevy:: time:: prelude:: TimerMode as std:: cmp:: PartialEq <
216+ bevy:: time:: prelude:: TimerMode ,
217+ > >:: eq ( & _self, & other)
222218 . into ( ) ;
223219 output
224220 } ,
225221 )
226222 . overwrite_script_function (
227223 "assert_receiver_is_total_eq" ,
228224 |_self : Ref < bevy:: time:: prelude:: TimerMode > | {
229- let output: ( ) = :: bevy:: time:: prelude:: TimerMode :: assert_receiver_is_total_eq (
225+ let output: ( ) = < bevy:: time:: prelude:: TimerMode as std :: cmp :: Eq > :: assert_receiver_is_total_eq (
230226 & _self,
231227 )
232228 . into ( ) ;
@@ -236,7 +232,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
236232 . overwrite_script_function (
237233 "clone" ,
238234 |_self : Ref < bevy:: time:: prelude:: TimerMode > | {
239- let output: Val < bevy:: time:: prelude:: TimerMode > = :: bevy:: time:: prelude:: TimerMode :: clone (
235+ let output: Val < bevy:: time:: prelude:: TimerMode > = < bevy:: time:: prelude:: TimerMode as std :: clone :: Clone > :: clone (
240236 & _self,
241237 )
242238 . into ( ) ;
@@ -247,7 +243,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
247243 . overwrite_script_function (
248244 "clone" ,
249245 |_self : Ref < bevy:: time:: prelude:: Virtual > | {
250- let output: Val < bevy:: time:: prelude:: Virtual > = :: bevy:: time:: prelude:: Virtual :: clone (
246+ let output: Val < bevy:: time:: prelude:: Virtual > = < bevy:: time:: prelude:: Virtual as std :: clone :: Clone > :: clone (
251247 & _self,
252248 )
253249 . into ( ) ;
@@ -258,7 +254,7 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
258254 . overwrite_script_function (
259255 "assert_receiver_is_total_eq" ,
260256 |_self : Ref < bevy:: time:: Stopwatch > | {
261- let output: ( ) = :: bevy:: time:: Stopwatch :: assert_receiver_is_total_eq (
257+ let output: ( ) = < bevy:: time:: Stopwatch as std :: cmp :: Eq > :: assert_receiver_is_total_eq (
262258 & _self,
263259 )
264260 . into ( ) ;
@@ -268,67 +264,68 @@ impl ::bevy::app::Plugin for BevyTimeScriptingPlugin {
268264 . overwrite_script_function (
269265 "new" ,
270266 || {
271- let output: Val < bevy:: time:: Stopwatch > = :: bevy:: time:: Stopwatch :: new ( )
267+ let output: Val < bevy:: time:: Stopwatch > = bevy:: time:: Stopwatch :: new ( )
272268 . into ( ) ;
273269 output
274270 } ,
275271 )
276272 . overwrite_script_function (
277273 "elapsed_secs" ,
278274 |_self : Ref < bevy:: time:: Stopwatch > | {
279- let output: f32 = :: bevy:: time:: Stopwatch :: elapsed_secs ( & _self)
280- . into ( ) ;
275+ let output: f32 = bevy:: time:: Stopwatch :: elapsed_secs ( & _self) . into ( ) ;
281276 output
282277 } ,
283278 )
284279 . overwrite_script_function (
285280 "elapsed_secs_f64" ,
286281 |_self : Ref < bevy:: time:: Stopwatch > | {
287- let output: f64 = :: bevy:: time:: Stopwatch :: elapsed_secs_f64 ( & _self)
282+ let output: f64 = bevy:: time:: Stopwatch :: elapsed_secs_f64 ( & _self)
288283 . into ( ) ;
289284 output
290285 } ,
291286 )
292287 . overwrite_script_function (
293288 "pause" ,
294289 |mut _self : Mut < bevy:: time:: Stopwatch > | {
295- let output: ( ) = :: bevy:: time:: Stopwatch :: pause ( & mut _self) . into ( ) ;
290+ let output: ( ) = bevy:: time:: Stopwatch :: pause ( & mut _self) . into ( ) ;
296291 output
297292 } ,
298293 )
299294 . overwrite_script_function (
300295 "unpause" ,
301296 |mut _self : Mut < bevy:: time:: Stopwatch > | {
302- let output: ( ) = :: bevy:: time:: Stopwatch :: unpause ( & mut _self) . into ( ) ;
297+ let output: ( ) = bevy:: time:: Stopwatch :: unpause ( & mut _self) . into ( ) ;
303298 output
304299 } ,
305300 )
306301 . overwrite_script_function (
307302 "is_paused" ,
308303 |_self : Ref < bevy:: time:: Stopwatch > | {
309- let output: bool = :: bevy:: time:: Stopwatch :: is_paused ( & _self) . into ( ) ;
304+ let output: bool = bevy:: time:: Stopwatch :: is_paused ( & _self) . into ( ) ;
310305 output
311306 } ,
312307 )
313308 . overwrite_script_function (
314309 "reset" ,
315310 |mut _self : Mut < bevy:: time:: Stopwatch > | {
316- let output: ( ) = :: bevy:: time:: Stopwatch :: reset ( & mut _self) . into ( ) ;
311+ let output: ( ) = bevy:: time:: Stopwatch :: reset ( & mut _self) . into ( ) ;
317312 output
318313 } ,
319314 )
320315 . overwrite_script_function (
321316 "eq" ,
322317 |_self : Ref < bevy:: time:: Stopwatch > , other : Ref < bevy:: time:: Stopwatch > | {
323- let output: bool = :: bevy:: time:: Stopwatch :: eq ( & _self, & other)
318+ let output: bool = <bevy:: time:: Stopwatch as std:: cmp:: PartialEq <
319+ bevy:: time:: Stopwatch ,
320+ > >:: eq ( & _self, & other)
324321 . into ( ) ;
325322 output
326323 } ,
327324 )
328325 . overwrite_script_function (
329326 "clone" ,
330327 |_self : Ref < bevy:: time:: Stopwatch > | {
331- let output: Val < bevy:: time:: Stopwatch > = :: bevy:: time:: Stopwatch :: clone (
328+ let output: Val < bevy:: time:: Stopwatch > = < bevy:: time:: Stopwatch as std :: clone :: Clone > :: clone (
332329 & _self,
333330 )
334331 . into ( ) ;
0 commit comments