bevy/crates/bevy_ecs/src
Zeenobit f8e4b755ff Add EntityMap::iter() (#6935)
# Objective

There is currently no way to iterate over key/value pairs inside an `EntityMap`, which makes the usage of this struct very awkward. I couldn't think of a good reason why the `iter()` function should not be exposed, considering the interface already exposes `keys()` and `values()`, so I made this PR.

## Solution

Implement `iter()` for `EntityMap` in terms of its inner map type.
2022-12-16 20:14:13 +00:00
..
entity Add EntityMap::iter() (#6935) 2022-12-16 20:14:13 +00:00
query Fix Sparse Change Detection (#6896) 2022-12-10 09:25:53 +00:00
schedule Move system_commands spans into apply_buffers (#6900) 2022-12-11 23:04:04 +00:00
storage Newtype ArchetypeRow and TableRow (#4878) 2022-12-06 01:38:21 +00:00
system Move system_commands spans into apply_buffers (#6900) 2022-12-11 23:04:04 +00:00
world Document World::clear_trackers() (#6520) 2022-12-11 18:10:01 +00:00
archetype.rs Newtype ArchetypeRow and TableRow (#4878) 2022-12-06 01:38:21 +00:00
bundle.rs Remove unnecessary branching from bundle insertion (#6902) 2022-12-11 18:46:43 +00:00
change_detection.rs Add set_if_neq method to DetectChanges trait (Rebased) (#6853) 2022-12-11 19:24:19 +00:00
component.rs Document options for !Sync types for Component and Resources (#6864) 2022-12-11 18:34:13 +00:00
event.rs Borrow instead of consuming in EventReader::clear (#6851) 2022-12-05 23:07:20 +00:00
lib.rs Fix clippy lints and failed test with Rust 1.66 (#6945) 2022-12-15 18:05:15 +00:00
reflect.rs Enable Constructing ReflectComponent/Resource (#6257) 2022-10-17 14:01:50 +00:00