bevy/crates/bevy_app/src
François 89f4943157 exact sized event iterators (#3863)
# Objective

- Remove `Resource` binding on events, introduce a new `Event` trait
- Ensure event iterators are `ExactSizeIterator`

## Solution

- Builds on #2382 and #2969

## Changelog

- Events<T>, EventWriter<T>, EventReader<T> and so on now require that the underlying type is Event, rather than Resource. Both of these are trivial supertraits of Send + Sync + 'static with universal blanket implementations: this change is currently purely cosmetic.
- Event reader iterators now implement ExactSizeIterator
2022-05-09 13:19:32 +00:00
..
app.rs exact sized event iterators (#3863) 2022-05-09 13:19:32 +00:00
ci_testing.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
lib.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
plugin_group.rs fix re-adding a plugin to a plugin group (#2039) 2022-05-09 13:06:22 +00:00
plugin.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00
schedule_runner.rs Fix formatting, spelling, phrasing and consistency (#4275) 2022-04-05 22:36:02 +00:00