What problem does this solve or what need does it fill?
I can only get a &mut dyn Reflect from field_mut from DynamicTupleStruct (and similar) which I can modify, but e.g. changing the field from being a DynamicStruct to a DynamicEnum isn't possible.
What solution would you like?
Add the option to replace fields
What alternative(s) have you considered?
I currently have no idea of how to do that externally..
Additional context
Might be easier when unifying fields (#14847 (comment)) ?
What problem does this solve or what need does it fill?
I can only get a
&mut dyn Reflectfromfield_mutfromDynamicTupleStruct(and similar) which I can modify, but e.g. changing the field from being aDynamicStructto aDynamicEnumisn't possible.What solution would you like?
Add the option to replace fields
What alternative(s) have you considered?
I currently have no idea of how to do that externally..
Additional context
Might be easier when unifying fields (#14847 (comment)) ?