bevy/crates/bevy_ecs/src
Jakob Hellermann 1e322d9f76 bevy_ptr standalone crate (#4653)
# Objective

The pointer types introduced in #3001 are useful not just in `bevy_ecs`, but also in crates like `bevy_reflect` (#4475) or even outside of bevy.

## Solution

Extract `Ptr<'a>`, `PtrMut<'a>`, `OwnedPtr<'a>`, `ThinSlicePtr<'a, T>` and `UnsafeCellDeref` from `bevy_ecs::ptr` into `bevy_ptr`.

**Note:** `bevy_ecs` still reexports the `bevy_ptr` as `bevy_ecs::ptr` so that crates like `bevy_transform` can use the `Bundle` derive without needing to depend on `bevy_ptr` themselves.
2022-05-04 19:16:10 +00:00
..
entity Decouple some dependencies (#3886) 2022-04-27 19:08:11 +00:00
query bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
schedule Make RunOnce a non-manual System impl (#3922) 2022-05-04 18:41:37 +00:00
storage bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
system bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
world bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
archetype.rs Change Cow<[ComponentId]> to Box<[ComponentId]> (#4185) 2022-03-19 04:14:27 +00:00
bundle.rs bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
change_detection.rs Improve debugging tools for change detection (#4160) 2022-05-02 18:26:52 +00:00
component.rs bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
event.rs small and mostly pointless refactoring (#2934) 2022-02-13 22:33:55 +00:00
lib.rs bevy_ptr standalone crate (#4653) 2022-05-04 19:16:10 +00:00
reflect.rs Add FromReflect trait to convert dynamic types to concrete types (#1395) 2021-12-26 18:49:01 +00:00