bevy/crates/bevy_ecs/src
Daniel McNab c893b99224 Optional .system (#2398)
This can be your 6 months post-christmas present.

# Objective

- Make `.system` optional
- yeet
- It's ugly
- Alternative title: `.system` is dead; long live `.system`
- **yeet**

## Solution

- Use a higher ranked lifetime, and some trait magic.

N.B. This PR does not actually remove any `.system`s, except in a couple of examples. Once this is merged we can do that piecemeal across crates, and decide on syntax for labels.
2021-06-27 00:40:09 +00:00
..
component drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
entity Improve bevy_ecs query docs (#1935) 2021-04-22 19:09:09 +00:00
query [ecs] implement is_empty for queries (#2271) 2021-06-02 20:50:06 +00:00
schedule Optional .system (#2398) 2021-06-27 00:40:09 +00:00
storage Fixes dropping empty BlobVec (#2295) 2021-06-02 19:08:39 +00:00
system Optional .system (#2398) 2021-06-27 00:40:09 +00:00
world drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
archetype.rs small ecs cleanup and remove_bundle drop bugfix (#2172) 2021-05-18 19:25:57 +00:00
bundle.rs drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
change_detection.rs Allow Option<NonSend<T>> and Option<NonSendMut<T>> as SystemParam (#2345) 2021-06-26 19:29:38 +00:00
event.rs [assets] fix Assets being set as 'changed' each frame (#2280) 2021-06-02 02:30:14 +00:00
lib.rs drop overwritten component data on double insert (#2227) 2021-05-30 20:15:40 +00:00
reflect.rs Refactor ResMut/Mut/ReflectMut to remove duplicated code (#2217) 2021-05-30 19:29:31 +00:00