mirror of
https://github.com/bevyengine/bevy
synced 2024-12-24 03:53:06 +00:00
99b6f1d330
# Objective #16575 moved required component docs from the `Component` impl to type docs. However, it doesn't actually link to what [required components](https://docs.rs/bevy/0.15.0/bevy/ecs/component/trait.Component.html#required-components) are and how they work. ## Solution Link to [required components](https://docs.rs/bevy/0.15.0/bevy/ecs/component/trait.Component.html#required-components)! ## Testing I tested the link for some components in different Bevy crates. I did not test in external third party crates, but I would assume that it should work there too. --- ## Showcase ![Link to required components](https://github.com/user-attachments/assets/888837dd-29a1-4092-be20-c7c6f0910174) Note: The tooltip doesn't show the `#required-components` anchor for some reason, but it is there. --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: SpecificProtagonist <vincentjunge@posteo.net> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |