@@ -47,7 +47,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
4747 . overwrite_script_function (
4848 "to_bits" ,
4949 |_self : Val < bevy:: ecs:: entity:: Entity > | {
50- let output: u64 = :: bevy:: ecs:: entity:: Entity :: to_bits ( _self. into ( ) )
50+ let output: u64 = :: bevy:: ecs:: entity:: Entity :: to_bits (
51+ _self. into_inner ( ) ,
52+ )
5153 . into ( ) ;
5254 output
5355 } ,
@@ -65,7 +67,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
6567 . overwrite_script_function (
6668 "index" ,
6769 |_self : Val < bevy:: ecs:: entity:: Entity > | {
68- let output: u32 = :: bevy:: ecs:: entity:: Entity :: index ( _self. into ( ) )
70+ let output: u32 = :: bevy:: ecs:: entity:: Entity :: index (
71+ _self. into_inner ( ) ,
72+ )
6973 . into ( ) ;
7074 output
7175 } ,
@@ -74,7 +78,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
7478 "generation" ,
7579 |_self : Val < bevy:: ecs:: entity:: Entity > | {
7680 let output: u32 = :: bevy:: ecs:: entity:: Entity :: generation (
77- _self. into ( ) ,
81+ _self. into_inner ( ) ,
7882 )
7983 . into ( ) ;
8084 output
@@ -133,7 +137,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
133137 "index" ,
134138 |_self : Val < bevy:: ecs:: component:: ComponentId > | {
135139 let output: usize = :: bevy:: ecs:: component:: ComponentId :: index (
136- _self. into ( ) ,
140+ _self. into_inner ( ) ,
137141 )
138142 . into ( ) ;
139143 output
@@ -153,7 +157,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
153157 . overwrite_script_function (
154158 "get" ,
155159 |_self : Val < bevy:: ecs:: component:: Tick > | {
156- let output: u32 = :: bevy:: ecs:: component:: Tick :: get ( _self. into ( ) )
160+ let output: u32 = :: bevy:: ecs:: component:: Tick :: get (
161+ _self. into_inner ( ) ,
162+ )
157163 . into ( ) ;
158164 output
159165 } ,
@@ -174,9 +180,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
174180 this_run : Val < bevy:: ecs:: component:: Tick > |
175181 {
176182 let output: bool = :: bevy:: ecs:: component:: Tick :: is_newer_than (
177- _self. into ( ) ,
178- last_run. into ( ) ,
179- this_run. into ( ) ,
183+ _self. into_inner ( ) ,
184+ last_run. into_inner ( ) ,
185+ this_run. into_inner ( ) ,
180186 )
181187 . into ( ) ;
182188 output
@@ -223,8 +229,8 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
223229 {
224230 let output: bool = :: bevy:: ecs:: component:: ComponentTicks :: is_added (
225231 & _self,
226- last_run. into ( ) ,
227- this_run. into ( ) ,
232+ last_run. into_inner ( ) ,
233+ this_run. into_inner ( ) ,
228234 )
229235 . into ( ) ;
230236 output
@@ -239,8 +245,8 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
239245 {
240246 let output: bool = :: bevy:: ecs:: component:: ComponentTicks :: is_changed (
241247 & _self,
242- last_run. into ( ) ,
243- this_run. into ( ) ,
248+ last_run. into_inner ( ) ,
249+ this_run. into_inner ( ) ,
244250 )
245251 . into ( ) ;
246252 output
@@ -250,7 +256,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
250256 "new" ,
251257 |change_tick : Val < bevy:: ecs:: component:: Tick > | {
252258 let output: Val < bevy:: ecs:: component:: ComponentTicks > = :: bevy:: ecs:: component:: ComponentTicks :: new (
253- change_tick. into ( ) ,
259+ change_tick. into_inner ( ) ,
254260 )
255261 . into ( ) ;
256262 output
@@ -264,7 +270,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
264270 {
265271 let output: ( ) = :: bevy:: ecs:: component:: ComponentTicks :: set_changed (
266272 & mut _self,
267- change_tick. into ( ) ,
273+ change_tick. into_inner ( ) ,
268274 )
269275 . into ( ) ;
270276 output
@@ -295,7 +301,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
295301 "low" ,
296302 |_self : Val < bevy:: ecs:: identifier:: Identifier > | {
297303 let output: u32 = :: bevy:: ecs:: identifier:: Identifier :: low (
298- _self. into ( ) ,
304+ _self. into_inner ( ) ,
299305 )
300306 . into ( ) ;
301307 output
@@ -305,7 +311,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
305311 "masked_high" ,
306312 |_self : Val < bevy:: ecs:: identifier:: Identifier > | {
307313 let output: u32 = :: bevy:: ecs:: identifier:: Identifier :: masked_high (
308- _self. into ( ) ,
314+ _self. into_inner ( ) ,
309315 )
310316 . into ( ) ;
311317 output
@@ -315,7 +321,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
315321 "to_bits" ,
316322 |_self : Val < bevy:: ecs:: identifier:: Identifier > | {
317323 let output: u64 = :: bevy:: ecs:: identifier:: Identifier :: to_bits (
318- _self. into ( ) ,
324+ _self. into_inner ( ) ,
319325 )
320326 . into ( ) ;
321327 output
0 commit comments