bevy/crates/bevy_reflect/src
John Lewis cfe4034d25
Add Reflection for Wrapping/Saturating types (#11397)
# Objective

- Extend reflection to the standard library's `Wrapping` and
`Saturating` generic types.

This wasn't my use-case but someone in the discord was surprised that
this wasn't already done. I decided to make a PR because the other
`std::num` items were reflected and if there's a reason to exclude
`Wrapping` and `Saturating`, I am unaware of it.

## Solution

Trivial fix

---

## Changelog

Implemented `Reflect` for `Wrapping<T>` and `Saturating<T>` from
`std::num`.
2024-01-22 15:21:20 +00:00
..
enums Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
impls Add Reflection for Wrapping/Saturating types (#11397) 2024-01-22 15:21:20 +00:00
path Fix some nightly warnings (#9672) 2023-09-02 18:35:06 +00:00
serde Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
array.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
fields.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
from_reflect.rs reflect: TypePath part 2 (#8768) 2023-10-09 19:33:03 +00:00
lib.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
list.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
map.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
reflect.rs delete methods deprecated in 0.12 (#10693) 2023-11-24 16:15:47 +00:00
std_traits.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
struct_trait.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
tuple_struct.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
tuple.rs Reorder impl to be the same as the trait (#11076) 2023-12-24 17:43:55 +00:00
type_info.rs Remove unnecessary path prefixes (#10749) 2023-11-28 23:43:40 +00:00
type_path.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
type_registry.rs Replace or document ignored doctests (#11040) 2024-01-01 16:50:56 +00:00
type_uuid_impl.rs Add Reflection for Wrapping/Saturating types (#11397) 2024-01-22 15:21:20 +00:00
type_uuid.rs bevy_utils: Export generate_composite_uuid utility function (#10496) 2023-11-25 23:21:35 +00:00
utility.rs Removed once_cell (#10079) 2023-10-12 10:20:07 +00:00