bevy/crates/bevy_ecs/src
James Liu a6e37e7a2a
Add QueryState::contains, document complexity, and make as_nop pub(crate) (#12776)
# Objective
Fixes #12752. Fixes #12750. Document the runtime complexity of all of
the `O(1)` operations on the individual APIs.

## Solution

  * Mirror `Query::contains` onto `QueryState::contains`
  * Make `QueryState::as_nop` pub(crate)
  * Make `NopWorldQuery` pub(crate)
  * Document all of the O(1) operations on Query and QueryState.
2024-03-29 14:49:43 +00:00
..
entity Fix inconsistency between Debug and serialized representation of Entity (#12469) 2024-03-14 14:57:22 +00:00
identifier fix some typos (#12038) 2024-02-22 18:55:22 +00:00
query Add QueryState::contains, document complexity, and make as_nop pub(crate) (#12776) 2024-03-29 14:49:43 +00:00
reflect Move commands module into bevy::ecs::world (#12234) 2024-03-02 23:13:45 +00:00
schedule Split ScheduleGraph::process_configs function (adopted) (#12435) 2024-03-17 02:00:37 +00:00
storage Use NonMaxUsize for non-component SparseSets (#12083) 2024-03-03 14:55:27 +00:00
system Add QueryState::contains, document complexity, and make as_nop pub(crate) (#12776) 2024-03-29 14:49:43 +00:00
world Added an init_bundle method to World (#12573) 2024-03-24 23:48:51 +00:00
archetype.rs Adding some docs for archetype internals (#12578) 2024-03-23 01:48:31 +00:00
bundle.rs Update safety comment for bundle removal (#12657) 2024-03-23 22:07:08 +00:00
change_detection.rs Implement MutUntyped::from(mut_typed) (#12406) 2024-03-10 12:46:50 +00:00
component.rs Remove ComponentStorage and associated types (#12311) 2024-03-05 15:54:52 +00:00
event.rs Implement Clone for ManualEventReader (#12777) 2024-03-29 14:49:13 +00:00
lib.rs Forbid unsafe in most crates in the engine (#12684) 2024-03-27 03:30:08 +00:00
removal_detection.rs Docs reflect that RemovalDetection also yields despawned entities (#11795) 2024-02-10 11:18:05 +00:00