Skip to content

Commit

Permalink
0.15 Release Notes: Set Reflection (#1805)
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <[email protected]>
  • Loading branch information
RobWalt and alice-i-cecile authored Nov 19, 2024
1 parent 766536e commit cd24be0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion release-content/0.15/release-notes/_release-notes.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ file_name = "14106_Cyclic_splines.md"
[[release_notes]]
title = "Dedicated `Reflect` implementation for `Set`-like things"
authors = ["@RobWalt"]
contributors = []
contributors = ["@SkiFire13", "@MrGVSV"]
prs = [13014]
file_name = "13014_Dedicated_Reflect_implementation_for_Setlike_things.md"

Expand Down

0 comments on commit cd24be0

Please sign in to comment.