mirror of
https://github.com/bevyengine/bevy
synced 2024-11-23 13:13:49 +00:00
530be10e72
# Objective Prevent future unsoundness that was seen in #6623. ## Solution Newtype both indexes in `Archetype` and `Table` as `ArchetypeRow` and `TableRow`. This avoids weird numerical manipulation on the indices, and can be stored and treated opaquely. Also enforces the source and destination of where these indices at a type level. --- ## Changelog Changed: `Archetype` indices and `Table` rows have been newtyped as `ArchetypeRow` and `TableRow`. |
||
---|---|---|
.. | ||
component.rs | ||
fetch.rs | ||
lib.rs |