bevy/crates/bevy_ecs/src
Christian Hughes ee2487a6e2
Change World::inspect_entity to return an Iterator instead of Vec (#13934)
# Objective

Fixes #13933.

## Solution

Changed the return type.

## Testing

Fixed and reused the pre-existing tests for `inspect_entity`.

---

## Migration Guide

- `World::inspect_entity` now returns an `Iterator` instead of a `Vec`.
If you need a `Vec`, immediately collect the iterator:
`world.inspect_entity(entity).collect<Vec<_>>()`
2024-06-19 21:06:35 +00:00
..
entity Update serialize flag for bevy_ecs (#13740) 2024-06-10 16:37:59 +00:00
event Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
identifier feat: Reflection implementations on Identifier (#13648) 2024-06-03 16:33:14 +00:00
observer Update observer archetype flags for sparse components (#13886) 2024-06-17 15:15:30 +00:00
query Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
reflect Map entities from a resource when written to the world. (#13650) 2024-06-03 16:33:24 +00:00
schedule IntoSystemConfigs::chain_ignore_deferred's return type fix (#13919) 2024-06-18 22:21:58 +00:00
storage Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
system Change World::inspect_entity to return an Iterator instead of Vec (#13934) 2024-06-19 21:06:35 +00:00
world Change World::inspect_entity to return an Iterator instead of Vec (#13934) 2024-06-19 21:06:35 +00:00
archetype.rs Update observer archetype flags for sparse components (#13886) 2024-06-17 15:15:30 +00:00
batching.rs Parallel event reader (#12554) 2024-04-22 16:37:42 +00:00
bundle.rs Use a unstable sort to sort component ids in bevy_ecs (#13789) 2024-06-17 14:56:19 +00:00
change_detection.rs Implement WorldQuery and QueryData on Mut. (#13338) 2024-05-14 12:38:31 +00:00
component.rs Fix typo in ComponentId docs: of -> or (#13932) 2024-06-19 18:51:47 +00:00
intern.rs Moves intern and label modules into bevy_ecs (#12772) 2024-04-08 15:34:11 +00:00
label.rs Add mappings to EntityMapper (#13727) 2024-06-08 12:52:23 +00:00
lib.rs Generalised ECS reactivity with Observers (#10839) 2024-06-15 01:33:26 +00:00
removal_detection.rs Remove extra call to clear_trackers (#13762) 2024-06-10 18:06:05 +00:00