WorldQuery::init_state
signature is too generous
#13358
Labels
A-ECS
Entities, components, systems, and events
D-Modest
A "normal" level of difficulty; suitable for simple features or challenging fixes
S-Needs-Review
Needs reviewer attention (from anyone!) to move forward
X-Contentious
There are nontrivial implications that should be thought through
Milestone
Adding mutable accessor function does not make sense, because this would allow users to readily cause UB.
Instead we could have a function on
&mut World
that returns an opaque struct on whichinit_component
, ... can be called.Originally posted by @Victoronz in #13343 (comment)
The text was updated successfully, but these errors were encountered: