bevy/crates/bevy_asset/src
Mincho Paskalev fe57b9f744
Add Reflect and FromReflect for AssetPath (#8531)
# Objective

- Add Reflect and FromReflect for AssetPath
- Fixes #8458

## Solution

- Straightforward derive of `Reflect` and `FromReflect` for `AssetPath`
- Implement `Reflect` and `FromReflect` for `Cow<'static, Path>` as to
satisfy the 'static lifetime requierments of bevy_reflect.
Implementation is a direct copy of that for `Cow<'static, str>` so maybe
it begs the question that was already asked in #7429 - maybe it would be
benefitial to write a general implementation for `Reflect` for
`Cow<'static, T>`.
2023-05-08 19:19:19 +00:00
..
diagnostic Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
io Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
asset_server.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
assets.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
debug_asset_server.rs Schedule-First: the new and improved add_systems (#8079) 2023-03-18 01:45:34 +00:00
filesystem_watcher.rs Fix hot reloading for read_asset_bytes (#6797) 2023-03-02 02:51:06 +00:00
handle.rs Use cmp of Self in implementaions of partial_cmp (#8559) 2023-05-06 22:31:25 +00:00
info.rs docs: Full documentation for bevy_asset (#3536) 2022-07-12 15:44:09 +00:00
lib.rs Add Reflect and FromReflect for AssetPath (#8531) 2023-05-08 19:19:19 +00:00
loader.rs bevy_asset: Add LoadContext::get_handle_untyped (#8470) 2023-04-25 19:32:34 +00:00
path.rs Add Reflect and FromReflect for AssetPath (#8531) 2023-05-08 19:19:19 +00:00
reflect.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00