mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
1c67e020f7
# Objective Reduce the size of `bevy_utils` (https://github.com/bevyengine/bevy/issues/11478) ## Solution Move `EntityHash` related types into `bevy_ecs`. This also allows us access to `Entity`, which means we no longer need `EntityHashMap`'s first generic argument. --- ## Changelog - Moved `bevy::utils::{EntityHash, EntityHasher, EntityHashMap, EntityHashSet}` into `bevy::ecs::entity::hash` . - Removed `EntityHashMap`'s first generic argument. It is now hardcoded to always be `Entity`. ## Migration Guide - Uses of `bevy::utils::{EntityHash, EntityHasher, EntityHashMap, EntityHashSet}` now have to be imported from `bevy::ecs::entity::hash`. - Uses of `EntityHashMap` no longer have to specify the first generic parameter. It is now hardcoded to always be `Entity`. |
||
---|---|---|
.. | ||
bundle.rs | ||
dynamic_scene.rs | ||
dynamic_scene_builder.rs | ||
lib.rs | ||
scene.rs | ||
scene_filter.rs | ||
scene_loader.rs | ||
scene_spawner.rs | ||
serde.rs |