bevy/crates/bevy_ecs/src/entity
James Liu f2b545049c Implement FusedIterator for eligible Iterator types (#4942)
# Objective
Most of our `Iterator` impls satisfy the requirements of `std::iter::FusedIterator`, which has internal specialization that optimizes `Interator::fuse`. The std lib iterator combinators do have a few that rely on `fuse`, so this could optimize those use cases. I don't think we're using any of them in the engine itself, but beyond a light increase in compile time, it doesn't hurt to implement the trait.

## Solution
Implement the trait for all eligible iterators in first party crates. Also add a missing `ExactSizeIterator` on an iterator that could use it.
2022-06-09 03:19:31 +00:00
..
map_entities.rs Decouple some dependencies (#3886) 2022-04-27 19:08:11 +00:00
mod.rs Implement FusedIterator for eligible Iterator types (#4942) 2022-06-09 03:19:31 +00:00
serde.rs allow Entity to be deserialized with serde_json (#3873) 2022-02-06 04:16:16 +00:00