bevy/crates/bevy_ecs/src
TheRawMeatball 7604665880 Implement AnyOf queries (#2889)
Implements a new Queryable called AnyOf, which will return an item as long as at least one of it's requested Queryables returns something. For example, a `Query<AnyOf<(&A, &B, &C)>>` will return items with type `(Option<&A>, Option<&B>, Option<&C>)`, and will guarantee that for every element at least one of the option s is Some. This is a shorthand for queries like `Query<(Option<&A>, Option<&B>, Option<&C>), Or<(With<A>, With<B>, With&C>)>>`.


Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-02-06 00:52:47 +00:00
..
entity Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
query Implement AnyOf queries (#2889) 2022-02-06 00:52:47 +00:00
schedule Added method to restart the current state (#3328) 2022-02-04 03:07:18 +00:00
storage Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
system Mut to immut impls (#3621) 2022-02-04 03:07:21 +00:00
world Backport soundness fix (#3685) 2022-02-04 03:21:31 +00:00
archetype.rs Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
bundle.rs Fix doc_markdown lints in bevy_ecs (#3473) 2022-01-06 00:43:37 +00:00
change_detection.rs add missing into_inner to ReflectMut (#3841) 2022-02-04 03:37:45 +00:00
component.rs Remove ComponentsError (#3716) 2022-01-21 00:12:32 +00:00
event.rs Simplify sending empty events (#2935) 2022-02-04 01:24:47 +00:00
lib.rs Implement AnyOf queries (#2889) 2022-02-06 00:52:47 +00:00
reflect.rs Add FromReflect trait to convert dynamic types to concrete types (#1395) 2021-12-26 18:49:01 +00:00