pub type DropCallback = Box<dyn FnOnce() + 'static>;Available on
webgpu only.Expand description
A callback invoked when wgpu releases its reference to an externally
owned WebGPU resource (e.g. a GpuTexture passed to
crate::Device::create_texture_from_webgpu_handle).
This is the WebGPU counterpart of wgpu_hal::DropCallback.
Aliased Typeยง
pub struct DropCallback(/* private fields */);