bevy/crates/bevy_reflect/src
aecsocket 17c4b070ab
bevy_reflect: Add ReflectSerializerProcessor (#15548)
**NOTE: This is based on, and should be merged alongside,
https://github.com/bevyengine/bevy/pull/15482.** I'll leave this in
draft until that PR is merged.

# Objective

Equivalent of https://github.com/bevyengine/bevy/pull/15482 but for
serialization. See that issue for the motivation.

Also part of this tracking issue:
https://github.com/bevyengine/bevy/issues/15518

This PR is non-breaking, just like the deserializer PR (because the new
type parameter `P` has a default `P = ()`).

## Solution

Identical solution to the deserializer PR.

## Testing

Added unit tests and a very comprehensive doc test outlining a clear
example and use case.
2024-11-17 14:05:39 +00:00
..
enums bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
func Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
impls Mute non-local definition warnings in bevy_reflect (#16013) 2024-10-20 13:52:52 +00:00
path Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
serde bevy_reflect: Add ReflectSerializerProcessor (#15548) 2024-11-17 14:05:39 +00:00
array.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
attributes.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
fields.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
from_reflect.rs bevy_reflect: Update on_unimplemented attributes (#15110) 2024-09-09 16:26:17 +00:00
generics.rs Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
kind.rs Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
lib.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
list.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
map.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
reflect.rs Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
reflectable.rs bevy_reflect: Add Reflectable trait (#5772) 2024-09-18 00:36:41 +00:00
remote.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
set.rs bevy_reflect: Generic parameter info (#15475) 2024-09-30 17:58:37 +00:00
std_traits.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
struct_trait.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
tuple.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
tuple_struct.rs bevy_reflect: get_represented_kind_info APIs for reflected kinds (#14380) 2024-10-15 02:08:31 +00:00
type_info.rs Remove thiserror from bevy_reflect (#15766) 2024-10-09 14:25:41 +00:00
type_info_stack.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
type_path.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
type_registry.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
utility.rs bevy_reflect: Generic parameter info (#15475) 2024-09-30 17:58:37 +00:00