bevy/crates/bevy_audio/src
Brezak 368c5cef1a
Implement clone for most bundles. (#12993)
# Objective

Closes #12985.

## Solution

- Derive clone for most types with bundle in their name.
- Bundle types missing clone:
-
[`TextBundle`](https://docs.rs/bevy/latest/bevy/prelude/struct.TextBundle.html)
(Contains
[`ContentSize`](https://docs.rs/bevy/latest/bevy/ui/struct.ContentSize.html)
which can't be cloned because it itself contains a `Option<MeasureFunc>`
where
[`MeasureFunc`](https://docs.rs/taffy/0.3.18/taffy/node/enum.MeasureFunc.html)
isn't clone)
-
[`ImageBundle`](https://docs.rs/bevy/latest/bevy/prelude/struct.ImageBundle.html)
(Same as `TextBundle`)
-
[`AtlasImageBundle`](https://docs.rs/bevy/latest/bevy/prelude/struct.AtlasImageBundle.html)
(Will be deprecated in 0.14 there's no point)
2024-04-16 16:37:09 +00:00
..
audio_output.rs Fix leftover references to children when despawning audio entities (#12407) 2024-03-11 18:16:13 +00:00
audio_source.rs updated audio_source.rs documentation (#12765) 2024-03-28 19:10:09 +00:00
audio.rs Implement clone for most bundles. (#12993) 2024-04-16 16:37:09 +00:00
lib.rs Set the logo and favicon for all of Bevy's published crates (#12696) 2024-03-25 18:52:50 +00:00
pitch.rs More ergonomic spatial audio (#9800) 2023-10-09 19:43:56 +00:00
sinks.rs More ergonomic spatial audio (#9800) 2023-10-09 19:43:56 +00:00