bevy/crates/bevy_ecs/macros/src
JoJoJet ce33354cee
Fix field visibility for read-only WorldQuery types (#8163)
# Objective

When using the `#[derive(WorldQuery)]` macro, the `ReadOnly` struct
generated has default (private) visibility for each field, regardless of
the visibility of the original field.

## Solution

For each field of a read-only `WorldQuery` variant, use the visibility
of the associated field defined on the original struct.
2023-03-22 17:49:42 +00:00
..
component.rs Fix beta clippy lints (#7154) 2023-01-11 09:51:22 +00:00
fetch.rs Fix field visibility for read-only WorldQuery types (#8163) 2023-03-22 17:49:42 +00:00
lib.rs Fix name conflicts caused by the SystemParam and WorldQuery macros (#8012) 2023-03-22 15:45:25 +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