pub type DeviceLostCallback = Box<dyn Fn(DeviceLostReason, String) + Send>;
wgpu
send_sync
struct DeviceLostCallback(/* private fields */);