mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
In particular, conversions to and from pointers and references are now const. This allows constructing `WriteOnly::from_mut(&mut [])` in const eval, which may be useful for applications wishing to have constant empty values. I can’t think of a reason to actually write through a `WriteOnly` in const, but we might as well allow the amount of it we can, too.