bevy icon indicating copy to clipboard operation
bevy copied to clipboard

impl Reflect for Wrapping

Open jonathandw743 opened this issue 8 months ago • 1 comments

What problem does this solve or what need does it fill?

Reflecting structs containing a Wrapping.

What solution would you like?

Implementations of Reflect for num::Wrapping types.

What alternative(s) have you considered?

Using the primitive value and then band aid solutions. Implementing Reflect manually for structs containing a Wrapping.

jonathandw743 avatar May 17 '25 13:05 jonathandw743

Marked as Controversial because it pulls in a new crate to bevy_reflect. That should be feature-flagged, but it's still good to carefully consider whether we want to do that.

Curse you orphan rules :(

alice-i-cecile avatar Jun 02 '25 18:06 alice-i-cecile