bevy/crates/bevy_ecs/src/reflect
Nicola Papale 28e9c522f7
Make function pointers of ecs Reflect* public (#8687)
Repetitively fetching ReflectResource and ReflectComponent from the
TypeRegistry is costly.

We want to access the underlying `fn`s. to do so, we expose the
`ReflectResourceFns` and `ReflectComponentFns` stored in ReflectResource
and ReflectComponent.

---

## Changelog

- Add the `fn_pointers` methods to `ReflectResource` and
`ReflectComponent` returning the underlying `ReflectResourceFns` and
`ReflectComponentFns`
2023-06-19 14:06:58 +00:00
..
component.rs Make function pointers of ecs Reflect* public (#8687) 2023-06-19 14:06:58 +00:00
map_entities.rs Split the bevy_ecs reflect.rs module (#8834) 2023-06-18 23:43:10 +00:00
mod.rs Split the bevy_ecs reflect.rs module (#8834) 2023-06-18 23:43:10 +00:00
resource.rs Make function pointers of ecs Reflect* public (#8687) 2023-06-19 14:06:58 +00:00