-
-
Notifications
You must be signed in to change notification settings - Fork 4k
[Merged by Bors] - add UnsafeWorldCell
abstraction
#6404
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
Closed
jakobhellermann
wants to merge
30
commits into
bevyengine:main
from
jakobhellermann:interior-mutable-world
Closed
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
24eec8f
add InteriorMutableWorld with resource access methods
jakobhellermann ee4efc3
add some safe accessors to InteriorMutableWorld
jakobhellermann 11956cc
move unchecked methods from world to InteriorMutableWorld
jakobhellermann 6561462
add get_non_send_resource and get_non_send_resource_mut to InteriorMu…
jakobhellermann 1580e28
use InteriorMutableWorld for
jakobhellermann f1a08a6
add InteriorMutableEntityRef
jakobhellermann fdc4a01
add as_interior_mutable(&mut self), as_interior_mutable_readonly(&sel…
jakobhellermann 1416efb
migrate WorldCell to InteriorMutableWorld
jakobhellermann 92a32d0
fix lints
jakobhellermann e896555
fix doc test
jakobhellermann 62e5b34
remove : from Safety block
jakobhellermann 4b27b65
fix bevy_asset doc test
jakobhellermann 6fb762f
tweak safety comments
jakobhellermann a5f38c1
fix interiormutableworld doc comments
jakobhellermann dabfd0b
add {read,last,increment}_change_tick to interiormutableworld
jakobhellermann 2ad5d25
use contains_resource as example for unexposed method
jakobhellermann 3d263b5
remove extra space
jakobhellermann 9503a66
add get_non_send_resource[_mut]_by_id
jakobhellermann 17afd9b
pass self instead of &self
jakobhellermann b065073
implement EntityMut::get_mut in terms of InteriorMutableEntityRef
jakobhellermann a5754cc
add InteriorMutableEntityRef::get_change_ticks_by_id
jakobhellermann 68a9bca
docs fixes
jakobhellermann 4f19233
raw pointer -> untyped pointer
jakobhellermann d637af0
more docs fixes
jakobhellermann efbebce
add missing safety comment
jakobhellermann ed140f5
add missing newline
jakobhellermann e20ca25
make unsafe fn unsafe
jakobhellermann 3b39018
reuse InteriorMutableEntityRef more
jakobhellermann d6f742b
InteriorMutableWorld -> UnsafeWorldCell
jakobhellermann 118a822
UnsafeEntityRefCell -> UnsafeWorldCellEntityRef
jakobhellermann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.