script::dom::bindings::codegen::GenericBindings::WebGPUBinding

Function GPUDeviceLostInfoWrap

Source
pub unsafe fn GPUDeviceLostInfoWrap<D>(
    cx: JSContext,
    scope: &<D as DomTypes>::GlobalScope,
    given_proto: Option<Handle<'_, *mut JSObject>>,
    object: Box<<D as DomTypes>::GPUDeviceLostInfo>,
    _can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::GPUDeviceLostInfo>>
where D: DomTypes,