pub unsafe fn CollectJSONAttributes<D>( cx: &mut JSContext, obj: Handle<*mut JSObject>, this: *mut c_void, result: Handle<'_, *mut JSObject>, ) -> boolwhere D: DomTypes,