bevy/crates/bevy_render/src
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
..
camera Refactor Camera methods and add viewport rect (#4948) 2022-06-07 15:23:45 +00:00
color Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
mesh Implement FusedIterator for eligible Iterator types (#4942) 2022-06-09 03:19:31 +00:00
primitives Faster assign lights to clusters (#4345) 2022-04-15 02:53:20 +00:00
render_graph Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
render_phase Camera Driven Viewports (#4898) 2022-06-05 00:27:49 +00:00
render_resource Implement FusedIterator for eligible Iterator types (#4942) 2022-06-09 03:19:31 +00:00
renderer diagnostics: meaningful error when graph node has wrong number of inputs (#4924) 2022-06-06 15:47:52 +00:00
texture Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
view Camera Driven Viewports (#4898) 2022-06-05 00:27:49 +00:00
extract_component.rs ExtractResourcePlugin (#3745) 2022-05-30 18:36:03 +00:00
extract_resource.rs ExtractResourcePlugin (#3745) 2022-05-30 18:36:03 +00:00
lib.rs Camera Driven Rendering (#4745) 2022-06-02 00:12:17 +00:00
render_asset.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
settings.rs bevy_render: Use RenderDevice to get limits/features and expose AdapterInfo (#3931) 2022-02-16 21:17:37 +00:00