bevy/crates/bevy_ecs/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
..
entity Remove redundant bounds check in Entities::get (#8108) 2023-03-16 22:49:36 +00:00
query Fix field visibility for read-only WorldQuery types (#8163) 2023-03-22 17:49:42 +00:00
schedule Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
storage Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00
system Fix name conflicts caused by the SystemParam and WorldQuery macros (#8012) 2023-03-22 15:45:25 +00:00
world bevy_ecs: add untyped methods for inserting components and bundles (#7204) 2023-03-21 00:33:11 +00:00
archetype.rs Document bevy_ecs::storage (#7770) 2023-03-09 07:22:48 +00:00
bundle.rs Reduce branching when inserting components (#8053) 2023-03-21 20:37:25 +00:00
change_detection.rs Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00
component.rs Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00
event.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
lib.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
reflect.rs Construct Box<dyn Reflect> from world for ReflectComponent (#7407) 2023-03-13 15:26:47 +00:00
removal_detection.rs Increase type safety and clarity for change detection (#7905) 2023-03-09 17:17:02 +00:00