bevy/crates/bevy_ecs/src/entity
Carter Anderson c65ef19b7c
Friendlier Entity Debug impl (#20045)
# Objective

The current Entity Debug impl prints the bit representation. This is an
"overshare". Debug is in many ways the primary interface into Entity, as
people derive Debug on their entity-containing types when they want to
inspect them. The bits take up too much space in the console and
obfuscate the useful information (entity index and generation).

## Solution

Use the Display implementation in Debug as well. Direct people
interested in bits to `Entity::to_bits` in the docs.
2025-07-09 19:15:37 +00:00
..
clone_entities.rs Unify filtering by id in EntityClonerBuilder (#19977) 2025-07-07 20:00:37 +00:00
entity_set.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
hash_map.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
hash_set.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
hash.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
index_map.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
index_set.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
map_entities.rs Implement MapEntities for arrays, HashMap, BTreeMap, IndexMap (#19908) 2025-07-02 14:50:55 +00:00
mod.rs Friendlier Entity Debug impl (#20045) 2025-07-09 19:15:37 +00:00
unique_array.rs Add newlines before impl blocks (#19746) 2025-06-22 23:07:02 +00:00
unique_slice.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00
unique_vec.rs Rename bevy_platform_support to bevy_platform (#18813) 2025-04-11 23:13:28 +00:00