bevy/crates/bevy_ecs/src
Sélène Amanita f38549c68d
Reorganize Events and EventSequence code (#9306)
# Objective

Make code relating to event more readable.

Currently the `impl` block of `Events` is split in two, and the big part
of its implementations are put at the end of the file, far from the
definition of the `struct`.

## Solution

- Move and merge the `impl` blocks of `Events` next to its definition.
- Move the `EventSequence` definition and implementations before the
`Events`, because they're pretty trivial and help understand how
`Events` work, rather than being buried bellow `Events`.

I separated those two steps in two commits to not be too confusing. I
didn't modify any code of documentation. I want to do a second PR with
such modifications after this one is merged.
2023-08-28 16:56:22 +00:00
..
entity Add EntityMap::clear (#9291) 2023-07-31 22:02:16 +00:00
query Improve various Debug implementations (#9588) 2023-08-26 21:27:41 +00:00
reflect bevy_scene: Add ReflectBundle (#9165) 2023-08-28 16:50:43 +00:00
schedule Add system.map(...) for transforming the output of a system (#8526) 2023-08-28 16:36:46 +00:00
storage Fix typos throughout the project (#9090) 2023-07-10 00:11:51 +00:00
system Add system.map(...) for transforming the output of a system (#8526) 2023-08-28 16:36:46 +00:00
world Fix CI for Rust 1.72 (#9562) 2023-08-25 12:34:24 +00:00
archetype.rs Fix typo in Archetypes documentation (#8990) 2023-06-28 19:33:18 +00:00
bundle.rs Document every public item in bevy_ecs (#8731) 2023-06-10 23:23:48 +00:00
change_detection.rs Fix incorrect documentation link in DetectChangesMut (#9431) 2023-08-15 21:48:12 +00:00
component.rs Derive Eq, PartialEq for Tick (#9020) 2023-07-04 19:08:51 +00:00
event.rs Reorganize Events and EventSequence code (#9306) 2023-08-28 16:56:22 +00:00
lib.rs Add system.map(...) for transforming the output of a system (#8526) 2023-08-28 16:36:46 +00:00
removal_detection.rs Simplify the ComponentIdFor type (#8845) 2023-06-15 12:57:47 +00:00