mirror of
https://github.com/bevyengine/bevy
synced 2025-03-01 05:47:20 +00:00
# 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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |