bevy/crates/bevy_ecs/src/query
JoJoJet b423e6ee15
Extend the WorldQuery macro to tuple structs (#8119)
# Objective

The `#[derive(WorldQuery)]` macro currently only supports structs with
named fields.

Same motivation as #6957. Remove sharp edges from the derive macro, make
it just work more often.

## Solution

Support tuple structs.

---

## Changelog

+ Added support for tuple structs to the `#[derive(WorldQuery)]` macro.
2023-04-04 00:49:03 +00:00
..
access.rs Add a const PipeSystem constructor (#7019) 2022-12-25 00:51:19 +00:00
fetch.rs Extend the WorldQuery macro to tuple structs (#8119) 2023-04-04 00:49:03 +00:00
filter.rs Or<T> should be a new type of PhantomData<T> (#8212) 2023-03-26 01:38:16 +00:00
iter.rs Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00
mod.rs Pass query change ticks to QueryParIter instead of always using change ticks from World. (#8029) 2023-03-13 22:06:16 +00:00
par_iter.rs Pass query change ticks to QueryParIter instead of always using change ticks from World. (#8029) 2023-03-13 22:06:16 +00:00
state.rs Fix inaccurate documentation on `QueryState::for_each_unchecked (#8277) 2023-03-31 16:54:36 +00:00