bevy/examples/2d
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
..
contributors.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
many_sprites.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
mesh.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
sprite.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
sprite_flipping.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
sprite_sheet.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
text2d.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00
texture_atlas.rs Optional .system (#2398) 2021-06-27 00:40:09 +00:00