mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 22:18:33 +00:00
This allows users to write systems that do not panic if a resource does not exist at runtime (such as if it has not been inserted yet). This is a copy-paste of the impls for `Res` and `ResMut`, with an extra check to see if the resource exists. There might be a cleaner way to do it than this check. I don't know. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |