-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - Implement FromWorld
for WorldId
#7726
Conversation
Very nice docs, thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I don't think this is a bad idea, the justification of using Local<WorldId>
has me set off a bit (akin to how Query<Option<With<T>>>
does). Could we not make WorldId
a SystemParam
?
We can do that too |
@JoJoJet once you've rebased I'll merge this. |
bors r+ |
Pull request successfully merged into main. Build succeeded:
|
FromWorld
for WorldId
FromWorld
for WorldId
Objective
Allow using
Local<WorldId>
in systems.Solution
Changelog
WorldId
now implements theFromWorld
trait.