bevy/crates/bevy_ecs/src
AxiomaticSemantics e0e9794c9e
Add Archetype::component_count (#12119)
Add Archetype::component_count utility method

# Objective

I wanted a method to count components on an archetype without iterating
over them.

## Solution

Added `Archetype::component_count`

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-02-26 04:54:25 +00:00
..
entity Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
identifier fix some typos (#12038) 2024-02-22 18:55:22 +00:00
query Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
reflect fix some typos (#12038) 2024-02-22 18:55:22 +00:00
schedule Run the multi-threaded executor at the end of each system task. (#11906) 2024-02-26 03:18:34 +00:00
storage bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
system Update docstrings for some Commands to use the correct type (#12111) 2024-02-25 19:48:33 +00:00
world bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
archetype.rs Add Archetype::component_count (#12119) 2024-02-26 04:54:25 +00:00
bundle.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
change_detection.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
component.rs bevy_ecs address trivial cases of unsafe_op_in_unsafe_fn (#11861) 2024-02-22 00:04:38 +00:00
event.rs Fix bug where events are not being dropped (#11528) 2024-02-02 21:14:54 +00:00
lib.rs Use TypeIdMap whenever possible (#11684) 2024-02-03 23:47:04 +00:00
removal_detection.rs Docs reflect that RemovalDetection also yields despawned entities (#11795) 2024-02-10 11:18:05 +00:00