mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 05:51:03 +01:00
`WriteOnly<'a, T>` is a custom smart pointer which is stricter than `&'a mut [T]` in that it only allows writing data and not reading it. This will be part of the fix for <https://github.com/gfx-rs/wgpu/issues/8897>. This commit only introduces the public type and does not use it.