![]() # Objective Three impls are generated for each of these traits when the `reflect_functions` feature is enabled. Helps with #19873. ## Solution Two of the three (the `&T` and `&mut T` ones) can be avoided by instead providing blanket impls. The impl for `T` remains. ## Testing I checked the output via `cargo expand`. According to `-Zmacro-stats`, the size of the `Reflect` code generate for `bevy_ui` drops by 10.4%. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
LICENSE-APACHE | ||
LICENSE-MIT |