mirror of
https://github.com/bevyengine/bevy
synced 2025-01-13 21:54:51 +00:00
d3e44325b4
# Objective - Addresses #12462 - When we serialize an enum, deserialize it, then reserialize it, the correct variant should be selected. ## Solution - Change `dynamic_enum.set_variant` to `dynamic_enum.set_variant_with_index` in `EnumVisitor` |
||
---|---|---|
.. | ||
enums | ||
impls | ||
path | ||
serde | ||
array.rs | ||
fields.rs | ||
from_reflect.rs | ||
lib.rs | ||
list.rs | ||
map.rs | ||
reflect.rs | ||
std_traits.rs | ||
struct_trait.rs | ||
tuple.rs | ||
tuple_struct.rs | ||
type_info.rs | ||
type_path.rs | ||
type_registry.rs | ||
utility.rs |