-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Add Immutable Component
Support
#16372
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
alice-i-cecile
merged 34 commits into
bevyengine:main
from
bushrat011899:ImmutableComponents
Dec 5, 2024
Merged
Changes from 7 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e822fe0
Add Immutable Component Support
bushrat011899 9d00974
Fix Examples
bushrat011899 fdd3b35
Fixed benchmarks and documentation
bushrat011899 d895c9a
Formatting
bushrat011899 24619f9
CI fixes, replace #[immutable] with #[component(immutable)]
bushrat011899 3ab5e97
Fix docs
bushrat011899 ac328b1
Fix Docs
bushrat011899 cae92e5
Updated `immutable_components` Example
bushrat011899 ef1802c
Added `ComponentImmutable` trait
bushrat011899 d71fae0
Simplify reflection story
bushrat011899 4050f62
Added immutability support to dynamic components
bushrat011899 9511f8c
Fixed overly restrictive traits bounds in component reflection
bushrat011899 d837843
Revert change to `bevy_scene`
bushrat011899 c353a74
Response to Feedback
bushrat011899 462bbe8
Added `immutable_dynamic_components` Example
bushrat011899 e49dd27
Update crates/bevy_ecs/src/component.rs
bushrat011899 2ac50cf
Update crates/bevy_ecs/src/world/deferred_world.rs
bushrat011899 07f0892
Update crates/bevy_ecs/src/world/deferred_world.rs
bushrat011899 42c531b
Adjust `ComponentInfo` and `ComponentDescriptor` to store `mutable`
bushrat011899 72c660d
Update crates/bevy_ecs/src/world/unsafe_world_cell.rs
bushrat011899 1ff87eb
Typo in comment
alice-i-cecile 0699a9b
Remove Redundant `tale`/`insert`
bushrat011899 c38c227
Improve `ReflectComponent` `panic` messages
bushrat011899 83f5b0f
Update `immutable_components` Example `unreachable` messages
bushrat011899 7794cfb
Updated documentation for newly panicking `ReflectComponent` methods
bushrat011899 edb27c8
Not being a hypocrite
bushrat011899 2dad7a5
Merge remote-tracking branch 'upstream/main' into ImmutableComponents
bushrat011899 60b8d55
Moved immutable component documentation
bushrat011899 e8ec322
Removed `new_immutable_with_layout`
bushrat011899 ded6561
Remove `Mutable` and `Immutable` from prelude
bushrat011899 1326909
Merge `immutable_components_dynamic` into `immutable_components`
bushrat011899 045f764
Merge remote-tracking branch 'upstream/main' into ImmutableComponents
bushrat011899 611386b
Merge remote-tracking branch 'upstream/main' into ImmutableComponents
bushrat011899 ab82afb
Fix documentation
bushrat011899 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
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
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
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
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
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.
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.