bevy/crates/bevy_asset/src
Doonv 054134fba2
Add ReflectKind (#11664)
# Objective

Fix https://github.com/bevyengine/bevy/issues/11657

## Solution

Add a `ReflectKind` enum, add `Reflect::reflect_kind` which returns a
`ReflectKind`, and add `kind` method implementions to `ReflectRef`,
`ReflectMut`, and `ReflectOwned`, which returns a `ReflectKind`.

I also changed `AccessError` to use this new struct instead of it's own
`TypeKind` struct.

---

## Changelog

- Added `ReflectKind`, an enumeration over the kinds of a reflected type
without its data.
- Added `Reflect::reflect_kind` (with default implementation)
- Added implementation for the `kind` method on `ReflectRef`,
`ReflectMut`, and `ReflectOwned` which gives their kind without any
information, as a `ReflectKind`
2024-02-07 00:36:23 +00:00
..
io Fix embedded asset path manipulation (#10383) 2024-02-02 14:49:05 +00:00
processor Fix AssetTransformer breaking LabeledAssets (#11626) 2024-02-02 14:57:31 +00:00
server Use TypeIdMap whenever possible (#11684) 2024-02-03 23:47:04 +00:00
assets.rs Remove TypeUuid (#11497) 2024-01-25 16:16:58 +00:00
event.rs Added AssetLoadFailedEvent, UntypedAssetLoadFailedEvent (#11369) 2024-01-17 21:12:00 +00:00
folder.rs Bevy Asset V2 (#8624) 2023-09-07 02:07:27 +00:00
handle.rs bevy_reflect: Split #[reflect(where)] (#11597) 2024-01-29 17:54:17 +00:00
id.rs bevy_reflect: Split #[reflect(where)] (#11597) 2024-01-29 17:54:17 +00:00
lib.rs Inverse missing_docs logic (#11676) 2024-02-03 21:40:55 +00:00
loader.rs Added Support for Extension-less Assets (#10153) 2024-01-31 14:58:08 +00:00
meta.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
path.rs Add ReflectKind (#11664) 2024-02-07 00:36:23 +00:00
reflect.rs Enable the unsafe_op_in_unsafe_fn lint (#11591) 2024-01-28 23:18:11 +00:00
saver.rs Fix AssetTransformer breaking LabeledAssets (#11626) 2024-02-02 14:57:31 +00:00
transformer.rs Fix AssetTransformer breaking LabeledAssets (#11626) 2024-02-02 14:57:31 +00:00