bevy/crates/bevy_reflect/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
..
enums bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
impls Add Reflect and FromReflect for AssetPath (#8531) 2023-05-08 19:19:19 +00:00
serde bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
array.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
fields.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
from_reflect.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
lib.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
list.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
map.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
path.rs bevy_reflect: Support tuple reflection paths (#7324) 2023-02-06 21:22:45 +00:00
reflect.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
std_traits.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
struct_trait.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
tuple.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
tuple_struct.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
type_info.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00
type_registry.rs Fixed several missing links in docs. (#8117) 2023-04-23 17:28:36 +00:00
type_uuid.rs implement TypeUuid for primitives and fix multiple-parameter generics having the same TypeUuid (#6633) 2023-02-16 17:09:44 +00:00
type_uuid_impl.rs implement TypeUuid for primitives and fix multiple-parameter generics having the same TypeUuid (#6633) 2023-02-16 17:09:44 +00:00
utility.rs bevy_reflect: Better proxies (#6971) 2023-04-26 12:17:46 +00:00