-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.15 Release Notes:
Set
Reflection (#1805)
Co-authored-by: Alice Cecile <[email protected]>
- Loading branch information
1 parent
766536e
commit cd24be0
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
9 changes: 8 additions & 1 deletion
9
...0.15/release-notes/13014_Dedicated_Reflect_implementation_for_Setlike_things.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
<!-- Dedicated `Reflect` implementation for `Set`-like things --> | ||
<!-- https://github.com/bevyengine/bevy/pull/13014 --> | ||
|
||
<!-- TODO --> | ||
Inside of `bevy_reflect`, every reflected Rust object ends up being mapped to one of a handful of [`ReflectKind`] variants. | ||
|
||
Before Bevy 0.15, sets (like [`HashSet`]) were treated as opaque "values": there was no way to view or modify their contents via reflection. | ||
With these changes, we can now properly represent sets of all kinds, which is particularly handy for runtime debugging tools like [`bevy-inspector-egui`]! | ||
|
||
[`ReflectKind`]: https://docs.rs/bevy/0.15.0/bevy/reflect/enum.ReflectKind.html | ||
[`HashSet`]: https://doc.rust-lang.org/stable/std/collections/struct.HashSet.html | ||
[`bevy-inspector-egui`]: https://github.com/jakobhellermann/bevy-inspector-egui |
This file contains 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