pub(crate) fn convert_bind_group_entry<'a, D>(
cx: &mut JSContext,
bind_group: &GPUBindGroupEntry<D>,
) -> BindGroupEntry<'a>where
D: DomTypes<GPUBuffer = GPUBuffer<D>>,
D::GPUTexture: GPUTextureTrait,
D::GPUTextureView: GPUTextureViewTrait,
D::GPUSampler: GPUSamplerTrait,
D::GPUExternalTexture: GPUExternalTextureTrait,
D::GPUDevice: DomGlobalGeneric<D> + GPUDeviceTrait<D>,
D::GlobalScope: WebGPUGlobalTrait,
D::Promise: PromiseHelpers<D>,