bevy/crates/bevy_ecs
Nathan Ward 19db1e402b [ecs] implement is_empty for queries (#2271)
## 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.
2021-06-02 20:50:06 +00:00
..
macros Add new SystemState and rename old SystemState to SystemMeta (#2283) 2021-06-02 19:57:38 +00:00
src [ecs] implement is_empty for queries (#2271) 2021-06-02 20:50:06 +00:00
Cargo.toml Release 0.5.0 (#1835) 2021-04-06 18:48:48 +00:00