bevy/crates/bevy_scene/src
Eagster 12aba64900
Make entity generation a new type and remove identifier (#19121)
# Objective

This is a followup to #18704 . There's lots more followup work, but this
is the minimum to unblock #18670, etc.

This direction has been given the green light by Alice
[here](https://github.com/bevyengine/bevy/pull/18704#issuecomment-2853368129).

## Solution

I could have split this over multiple PRs, but I figured skipping
straight here would be easiest for everyone and would unblock things the
quickest.

This removes the now no longer needed `identifier` module and makes
`Entity::generation` go from `NonZeroU32` to `struct
EntityGeneration(u32)`.

## Testing

CI

---------

Co-authored-by: Mark Nokalt <marknokalt@live.com>
2025-05-08 04:03:05 +00:00
..
components.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
dynamic_scene_builder.rs Make entity::index non max (#18704) 2025-05-07 18:20:30 +00:00
dynamic_scene.rs Switch ChildOf back to tuple struct (#18672) 2025-04-02 00:10:10 +00:00
lib.rs Properly gate imports in bevy_scene (#18482) 2025-03-22 12:22:20 +00:00
reflect_utils.rs bevy_reflect: Deprecate PartialReflect::clone_value (#18284) 2025-03-14 19:33:57 +00:00
scene_filter.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
scene_loader.rs Properly gate imports in bevy_scene (#18482) 2025-03-22 12:22:20 +00:00
scene_spawner.rs Make entity::index non max (#18704) 2025-05-07 18:20:30 +00:00
scene.rs reexport entity set collections in entity module (#18413) 2025-03-30 03:51:14 +00:00
serde.rs Make entity generation a new type and remove identifier (#19121) 2025-05-08 04:03:05 +00:00