Type Alias wgpu_hal::DropCallback

source ·
pub type DropCallback = Box<dyn FnOnce() + Send + Sync + 'static>;
Expand description

A callback to signal that wgpu is no longer using a resource.

Aliased Type§

struct DropCallback(/* private fields */);