mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
19db1e402b
## Problem - The `Query` struct does not provide an easy way to check if it is empty. - Specifically, users have to use `.iter().peekable()` or `.iter().next().is_none()` which is not very ergonomic. - Fixes: #2270 ## Solution - Implement an `is_empty` function for queries to more easily check if the query is empty. |
||
---|---|---|
.. | ||
component | ||
entity | ||
query | ||
schedule | ||
storage | ||
system | ||
world | ||
archetype.rs | ||
bundle.rs | ||
change_detection.rs | ||
event.rs | ||
lib.rs | ||
reflect.rs |