vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.54k stars 438 forks source link

Clean up `BufferContents` derive macro expansion further #2588

Closed marc0246 closed 1 month ago

marc0246 commented 1 month ago

This is taking inspiration from Rust's expansion of derive(Clone, Copy), where each bound only takes up one line (instead of the 7 we had before), making it easier to look at the expansion.