bevy/crates/bevy_reflect/bevy_reflect_derive/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
..
impls Add ReflectKind (#11664) 2024-02-07 00:36:23 +00:00
container_attributes.rs reflection: replace impl_reflect_struct with impl_reflect (#11437) 2024-01-30 14:39:01 +00:00
derive_data.rs reflection: replace impl_reflect_struct with impl_reflect (#11437) 2024-01-30 14:39:01 +00:00
documentation.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
enum_utility.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
field_attributes.rs bevy_reflect: Fix combined field attributes (#9322) 2023-08-07 23:04:00 +00:00
from_reflect.rs bevy_reflect: Split #[reflect(where)] (#11597) 2024-01-29 17:54:17 +00:00
lib.rs reflection: replace impl_reflect_struct with impl_reflect (#11437) 2024-01-30 14:39:01 +00:00
reflect_value.rs reflection: replace impl_reflect_struct with impl_reflect (#11437) 2024-01-30 14:39:01 +00:00
registration.rs bevy_reflect: Type parameter bounds (#9046) 2024-01-28 16:24:03 +00:00
serialization.rs bevy_reflect: Fix ignored/skipped field order (#7575) 2023-10-22 12:43:31 +00:00
trait_reflection.rs Moved fq_std from bevy_reflect_derive to bevy_macro_utils (#9956) 2023-10-02 00:22:57 +00:00
type_path.rs Fix typo in NamedTypePathDef (#9102) 2023-07-10 17:02:16 +00:00
utility.rs bevy_reflect: Split #[reflect(where)] (#11597) 2024-01-29 17:54:17 +00:00