@@ -47,7 +47,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
47
47
. overwrite_script_function (
48
48
"to_bits" ,
49
49
|_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
+ )
51
53
. into ( ) ;
52
54
output
53
55
} ,
@@ -65,7 +67,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
65
67
. overwrite_script_function (
66
68
"index" ,
67
69
|_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
+ )
69
73
. into ( ) ;
70
74
output
71
75
} ,
@@ -74,7 +78,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
74
78
"generation" ,
75
79
|_self : Val < bevy:: ecs:: entity:: Entity > | {
76
80
let output: u32 = :: bevy:: ecs:: entity:: Entity :: generation (
77
- _self. into ( ) ,
81
+ _self. into_inner ( ) ,
78
82
)
79
83
. into ( ) ;
80
84
output
@@ -133,7 +137,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
133
137
"index" ,
134
138
|_self : Val < bevy:: ecs:: component:: ComponentId > | {
135
139
let output: usize = :: bevy:: ecs:: component:: ComponentId :: index (
136
- _self. into ( ) ,
140
+ _self. into_inner ( ) ,
137
141
)
138
142
. into ( ) ;
139
143
output
@@ -153,7 +157,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
153
157
. overwrite_script_function (
154
158
"get" ,
155
159
|_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
+ )
157
163
. into ( ) ;
158
164
output
159
165
} ,
@@ -174,9 +180,9 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
174
180
this_run : Val < bevy:: ecs:: component:: Tick > |
175
181
{
176
182
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 ( ) ,
180
186
)
181
187
. into ( ) ;
182
188
output
@@ -223,8 +229,8 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
223
229
{
224
230
let output: bool = :: bevy:: ecs:: component:: ComponentTicks :: is_added (
225
231
& _self,
226
- last_run. into ( ) ,
227
- this_run. into ( ) ,
232
+ last_run. into_inner ( ) ,
233
+ this_run. into_inner ( ) ,
228
234
)
229
235
. into ( ) ;
230
236
output
@@ -239,8 +245,8 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
239
245
{
240
246
let output: bool = :: bevy:: ecs:: component:: ComponentTicks :: is_changed (
241
247
& _self,
242
- last_run. into ( ) ,
243
- this_run. into ( ) ,
248
+ last_run. into_inner ( ) ,
249
+ this_run. into_inner ( ) ,
244
250
)
245
251
. into ( ) ;
246
252
output
@@ -250,7 +256,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
250
256
"new" ,
251
257
|change_tick : Val < bevy:: ecs:: component:: Tick > | {
252
258
let output: Val < bevy:: ecs:: component:: ComponentTicks > = :: bevy:: ecs:: component:: ComponentTicks :: new (
253
- change_tick. into ( ) ,
259
+ change_tick. into_inner ( ) ,
254
260
)
255
261
. into ( ) ;
256
262
output
@@ -264,7 +270,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
264
270
{
265
271
let output: ( ) = :: bevy:: ecs:: component:: ComponentTicks :: set_changed (
266
272
& mut _self,
267
- change_tick. into ( ) ,
273
+ change_tick. into_inner ( ) ,
268
274
)
269
275
. into ( ) ;
270
276
output
@@ -295,7 +301,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
295
301
"low" ,
296
302
|_self : Val < bevy:: ecs:: identifier:: Identifier > | {
297
303
let output: u32 = :: bevy:: ecs:: identifier:: Identifier :: low (
298
- _self. into ( ) ,
304
+ _self. into_inner ( ) ,
299
305
)
300
306
. into ( ) ;
301
307
output
@@ -305,7 +311,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
305
311
"masked_high" ,
306
312
|_self : Val < bevy:: ecs:: identifier:: Identifier > | {
307
313
let output: u32 = :: bevy:: ecs:: identifier:: Identifier :: masked_high (
308
- _self. into ( ) ,
314
+ _self. into_inner ( ) ,
309
315
)
310
316
. into ( ) ;
311
317
output
@@ -315,7 +321,7 @@ impl ::bevy::app::Plugin for BevyEcsScriptingPlugin {
315
321
"to_bits" ,
316
322
|_self : Val < bevy:: ecs:: identifier:: Identifier > | {
317
323
let output: u64 = :: bevy:: ecs:: identifier:: Identifier :: to_bits (
318
- _self. into ( ) ,
324
+ _self. into_inner ( ) ,
319
325
)
320
326
. into ( ) ;
321
327
output
0 commit comments