bevy/crates/bevy_ecs/macros/src
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
..
component.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
fetch.rs Extend the WorldQuery macro to tuple structs (#8119) 2023-04-04 00:49:03 +00:00
lib.rs Use UnsafeWorldCell to increase code quality for SystemParam (#8174) 2023-04-01 15:45:07 +00:00
set.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
states.rs States derive macro (#7535) 2023-02-07 14:02:21 +00:00