bevy/crates/bevy_core/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
..
lib.rs Add Reflect and FromReflect for AssetPath (#8531) 2023-05-08 19:19:19 +00:00
name.rs Use cmp of Self in implementaions of partial_cmp (#8559) 2023-05-06 22:31:25 +00:00
serde.rs Add serialize feature to bevy_core (#6423) 2022-10-31 21:20:57 +00:00
task_pool_options.rs Break CorePlugin into TaskPoolPlugin, TypeRegistrationPlugin, FrameCountPlugin. (#7083) 2023-01-05 11:42:35 +00:00