bevy/crates/bevy_render/src
Tau Gärtli 1aac2314e8
More #[doc(fake_variadic)] goodness (#16108)
This PR adds `#[doc(fake_variadic)]` to that were previously not
supported by rustdoc.

Thanks to an [upstream
contribution](https://github.com/rust-lang/rust/pull/132115) by yours
truly, `#[doc(fake_variadic)]` is now supported on impls such as `impl
QueryData for AnyOf<(T, ...)>` 🎉
Requires the latest nightly compiler (2024-10-25) which is already
available on [docs.rs](https://docs.rs/about/builds).


![image](https://github.com/user-attachments/assets/68589c7e-f68f-44fb-9a7b-09d24ccf19c9)

![image](https://github.com/user-attachments/assets/f09d20d6-d89b-471b-9a81-4a72c8968178)

This means that the impl sections for `QueryData` and `QueryFilter` are
now nice and tidy 

---

I also added `fake_variadic` to some impls that use
`all_tuples_with_size`, however I'm not entirely happy because the docs
are slightly misleading now:


![image](https://github.com/user-attachments/assets/fac93d08-dc02-430f-9f34-c97456256c56)

Note that the docs say `IntoBindGroupLayoutEntryBuilderArray<1>` instead
of
`IntoBindGroupLayoutEntryBuilderArray<N>`.
2024-10-27 21:18:18 +01:00
..
batching
camera Fix deactivated camera still being used in render world (#15946) 2024-10-19 15:13:14 +00:00
diagnostic
mesh Revert default mesh materials (#15930) 2024-10-15 19:47:40 +00:00
primitives
render_graph More #[doc(fake_variadic)] goodness (#16108) 2024-10-27 21:18:18 +01:00
render_phase
render_resource More #[doc(fake_variadic)] goodness (#16108) 2024-10-27 21:18:18 +01:00
renderer Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
texture Move SUPPORTED_FILE_EXTENSIONS to ImageLoader and remove unsupported formats. (#15917) 2024-10-15 18:06:34 +00:00
view
alpha.rs
color_operations.wgsl
extract_component.rs Remove ExtractComponent::Out (#15926) 2024-10-15 23:42:35 +00:00
extract_instances.rs
extract_param.rs Implement WorldQuery for MainWorld and RenderWorld components (#15745) 2024-10-13 20:58:46 +00:00
extract_resource.rs
globals.rs aligning public apis of Time,Timer and Stopwatch (#15962) 2024-10-16 21:09:32 +00:00
globals.wgsl
gpu_component_array_buffer.rs
gpu_readback.rs
lib.rs
maths.wgsl
pipelined_rendering.rs
render_asset.rs
settings.rs
spatial_bundle.rs
storage.rs
sync_component.rs
sync_world.rs Implement WorldQuery for MainWorld and RenderWorld components (#15745) 2024-10-13 20:58:46 +00:00